Describe the bug
Whenever vite build is called to build the adaptive-palette client, it issues a warning:
(!) Some chunks are larger than 500 kB after minification.
...
To reproduce
Steps to reproduce the behavior:
- Run
npm start or npm run dev. They both call the build process.
- Look for the warning:
(!) 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.
Expected behavior
No warning when building the adaptive-palette's client.