Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

perf: Change to individual dist imports to decrease loaded component impact #3464

Merged
merged 1 commit into from
Feb 21, 2024

Conversation

juliushaertl
Copy link
Member

@juliushaertl juliushaertl commented Feb 8, 2024

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

@juliushaertl
Copy link
Member Author

Can be further reduced with nextcloud-libraries/nextcloud-vue#5218

…impact

Signed-off-by: Julius Härtl <jus@bitgrid.net>
@juliushaertl juliushaertl merged commit b784eeb into main Feb 21, 2024
44 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review Ready to be reviewed performance
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants