Running vite build results in a pretty big javascript file size, around 5mb. It also produces the following warning:
../dist/index.html 1.49 kB │ gzip: 0.63 kB
../dist/assets/index-hmox0rjH.js 5,294.70 kB │ gzip: 1,649.11 kB
(!) 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.
I'm not quite sure how to incorporate this advice into the project. However, I wanted to note it for posterity.
Whenever the version is bumped and working is done in src/Feliz.Plotly, a Github Action worflow should kick off and automatically publish the package to nuget.