How Did Angular CLI Budgets Save My Day And How They Can Save Yours

Tomas Trajan
DailyJS
Published in
8 min readAug 7, 2018

--

Too little or too much of anything can be bad for you! 😉 (Original 📸 by Patrick Fore)

What Are We Going To Learn?

  1. What are the Angular application budgets
  2. What kind of problems can be discovered by using budgets
  3. How can budgets help with these problems
  4. What are the tradeoffs ( cost of using budgets in your application )
  5. How to prevent problems uncovered by budgets to ever happen again

This article is based on a true story! It happened while working on the Angular NgRx Material Starter which recently started using Angular CLI budgets…

What is Angular CLI Budgets?

Budgets is one of the less known features of the Angular CLI. It’s a rather small but a very neat feature!

As applications grow in functionality, they also grow in size. Budgets is a feature in the Angular CLI which allows you to set budget thresholds in your configuration to ensure parts of your application stay within boundaries which you set — Official

--

--

Tomas Trajan
DailyJS
Writer for

👋 I build, teach, write & speak about #Angular & #NgRx for enterprises 👨‍💻 Google Developer Expert #GDE 👨‍🏫 @AngularZurich meetup co-organizer