UI: code-split large chunks to reduce bundle size #78
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The Vite build warns about chunks larger than 500 KB after minification:
The main offender is
SwaggerPage(~1.3 MB), which is already lazy-loaded but still produces a large chunk. The new admin pages add further to the overall bundle.Suggested approach:
lazy()imports (they should already)build.rolldownOptions.output.codeSplittingfor better automatic chunkingbuild.chunkSizeWarningLimitif the current sizes are acceptable for the use case