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 up css into smaller chunks #10981

Open
JammingBen opened this issue May 31, 2024 · 0 comments
Open

Split up css into smaller chunks #10981

JammingBen opened this issue May 31, 2024 · 0 comments

Comments

@JammingBen
Copy link
Collaborator

JammingBen commented May 31, 2024

Currently, all our CSS gets merged into one big file because we've set cssCodeSplit: false in the vite config. The goal is to set this to true, as it would improve loading times in Web.

There is, however, one issue where some of the chunks won't be loaded, which leads so missing styles. Needs investigation why this happens. Lazy loading routes could help here, since chunks from lazy loaded things will definitely be loaded: #10980

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Features / Enhancements
Development

No branches or pull requests

1 participant