nuxi build: (!) Some chunks are larger than 500 KiB after minification.
anburocky3 opened this issue · 0 comments
anburocky3 commented
Everytime, i build it using yarn build
(nuxi build
), i see this warning in the console.
Why does it show it? we are just using import
on overall project right?
For source code & reproduction, This is my example Project repo
WARN 15:32:15
(!) Some chunks are larger than 500 KiB after minification. Consider:
- Using dynamic import() to code-split the application
- Use build.rollupOptions.output.manualChunks to improve chunking: https://rollupjs.org/guide/en/#outputmanualchunks
- Adjust chunk size limit for this warning via build.chunkSizeWarningLimit.