Summary
vite build emits a single ~870 kB JS chunk (gzip ~268 kB), tripping Vite's default 500 kB chunk-size warning:
```
(!) Some chunks are larger than 500 kB after minification.
dist/assets/index-*.js 870.44 kB │ gzip: 267.86 kB
```
Context
Surfaced while validating the Vite 6→8 bump (PR #4). This is a pre-existing issue, not caused by the bump — out of scope for that PR.
Suggested fix
- Use dynamic
import() to code-split heavy deps (e.g. cytoscape, react-cytoscapejs, n3).
- Or configure
build.rolldownOptions.output.codeSplitting (Vite 8 / Rolldown) for manual chunking.
- Or, if acceptable, raise
build.chunkSizeWarningLimit.
Acceptance
vite build completes without the 500 kB warning, or chunks are intentionally split.
Summary
vite buildemits a single ~870 kB JS chunk (gzip ~268 kB), tripping Vite's default 500 kB chunk-size warning:```
(!) Some chunks are larger than 500 kB after minification.
dist/assets/index-*.js 870.44 kB │ gzip: 267.86 kB
```
Context
Surfaced while validating the Vite 6→8 bump (PR #4). This is a pre-existing issue, not caused by the bump — out of scope for that PR.
Suggested fix
import()to code-split heavy deps (e.g.cytoscape,react-cytoscapejs,n3).build.rolldownOptions.output.codeSplitting(Vite 8 / Rolldown) for manual chunking.build.chunkSizeWarningLimit.Acceptance
vite buildcompletes without the 500 kB warning, or chunks are intentionally split.