Skip to content

Bundle size budget and visualizer in CI #173

@Nanle-code

Description

@Nanle-code

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

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions