-
Notifications
You must be signed in to change notification settings - Fork 59
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
Any way to split clientBundle into smaller chunks? #286
Comments
Technically we could do that, but in order to know which icon from which bundle, we have to import all the bundles anyway. How would that be helpful to split if they are going to be downloaded anyway? |
Well, first off, I'm not an expert, but from what I read when I was trying to improve my Nuxt app, I think I understood there are a few advantages that improve both performance and user experience, as well as positively impacting SEO:
Disclaimer: I asked chatgpt to make that summary, so I apologize if it is inaccurate. At least it reflects the stuff I read in several articles about improving Nuxt performance for web vitals😅 |
My icons bundle size is 1008KB. Mostly because of using icons from the "flags" collection, which is quite heavy.
I don't know if it's feasible, but a way to automatically split the bundled icons into smaller chunk would be awesome. Example in nuxt.config.ts:
The text was updated successfully, but these errors were encountered: