Performance Budgets
Performance budgets keep the React hydration path measurable.
Size Report
When frontend.build.diagnostics.performanceReport is enabled, Vext writes:
The report includes:
- raw size
- gzip size
- brotli size
- initial JS
- route initial JS
- app-owned assets
- external runtime groups
Budget Fields
Compressed budgets better reflect transfer cost than raw byte limits.
Fixing a Budget Failure
Recommended Practice
Start with warning budgets while a product is still moving fast. Turn them into blocking budgets for release branches once route baselines are stable.
Keep budget numbers in config, not in CI scripts, so local build and CI enforce the same contract.