hollama
hollama copied to clipboard
Vite/Rollup: Large chunks warning
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';