perf: Change to individual dist imports to decrease loaded component impact #3464
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Before
viewer (3.45 MiB)
richdocuments-viewer.js?v=a1f0f8541dedf25be4d6
files (3.44 MiB)
richdocuments-files.js?v=18a756d53dece98f2e3d
document (3.3 MiB)
richdocuments-document.js?v=b42fb98dcf9102720214
admin (3.34 MiB)
richdocuments-admin.js?v=2c323a5c7fa93ae922a9
reference (3.27 MiB)
richdocuments-reference.js?v=b09e3fff1eb117fa10ee
After
Entrypoints:
viewer (1.44 MiB)
richdocuments-viewer.js?v=49508f814f92c6072e8f
files (1.06 MiB)
richdocuments-files.js?v=cfc4ae38c8fcba09e24a
document (905 KiB)
richdocuments-document.js?v=d0835ac50e8931031b42
admin (3.34 MiB)
richdocuments-admin.js?v=5d6fd4225c41b40b68db
reference (1.25 MiB)
richdocuments-reference.js?v=8602b8c794bbdb9b3d30