Labels: performance, ci
Description
vite.config.js has commented rollup-plugin-visualizer and manual chunks. CI uploads dist/ but does not enforce size limits.
Tasks
Enable bundle analyzer behind ANALYZE=1.
Add CI step comparing dist/ size to a baseline (e.g. 500KB gzipped main).
Document chunk strategy in README.
Acceptance criteria
PR fails if main bundle exceeds threshold (with override label).
dist/stats.html artifact on demand.
Files
vite.config.js
.github/workflows/ci.yml
README.md
Labels: performance, ci
Description
vite.config.js has commented rollup-plugin-visualizer and manual chunks. CI uploads dist/ but does not enforce size limits.
Tasks
Enable bundle analyzer behind ANALYZE=1.
Add CI step comparing dist/ size to a baseline (e.g. 500KB gzipped main).
Document chunk strategy in README.
Acceptance criteria
PR fails if main bundle exceeds threshold (with override label).
dist/stats.html artifact on demand.
Files
vite.config.js
.github/workflows/ci.yml
README.md