hollama icon indicating copy to clipboard operation
hollama copied to clipboard

Vite/Rollup: Large chunks warning

Open fmaclen opened this issue 7 months ago • 0 comments

I'm not that familiar with the Vite build process to figure out where exactly this issue is.

(!) Some chunks are larger than 500 kB after minification. Consider:
- Using dynamic import() to code-split the application
- Use build.rollupOptions.output.manualChunks to improve chunking: https://rollupjs.org/configuration-options/#output-manualchunks
- Adjust chunk size limit for this warning via build.chunkSizeWarningLimit.

But the warning goes away when we remove the syntax highlighting in <Article>:

import hljs from 'highlight.js';
import 'highlight.js/styles/github.min.css';

fmaclen avatar Jul 05 '24 14:07 fmaclen