Frontend & browser·Loading, assets and the critical path
the build fails when the main chunk goes over the number the team agreed on.
Bundle budget
Also calledperformance budget, size budget
An enforced limit on the size of the shipped assets, checked in CI so growth has to be argued for rather than accumulating. It works because bundle size never regresses in one large jump; it regresses by ten kilobytes at a time until someone measures. A budget without a failing build is a wish, and one set above the current size does nothing at all.