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

Split bundle into more chunks #180

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

Split bundle into more chunks #180

wants to merge 1 commit into from

Conversation

oskarrough
Copy link
Contributor

@oskarrough oskarrough commented May 26, 2024

Use the manualChunks feature of rollup to split the bundle on the big dependencies. I don't know how they are then loaded internally. Are they still all loaded up front? In any cases, not having 1.5mb js files seems good. Has to be tested before merging.

Closes #179 .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Optimize bundle size
1 participant