Angular · Senior · Question 30 of 75
What are budgets in angular.json?
- ✓Correct answer: Size limits for bundles and styles; the build warns or fails when they are exceeded
- 2Limits on the number of components per module
- 3Memory limits for the dev server
Explanation
Budgets with maximumWarning/maximumError catch accidental bundle growth in CI, e.g. when someone imports a heavy library into the initial chunk.