Skip to main content
added 8 characters in body
Source Link

I import ~@angular/material/theming into many of my .scss files so that I have access to material colour palets.

But recently inAfter updating to Angular 9, I've been getting the following build warning:

WARNING in Exceeded maximum budget for [.scss file path]. Budget 6 kB was not met by 202 kB with a total of 208 kB.

Most of this budget overflow is from importing ~@angular/material/theming. Is it ok to increase budgets in angular.json to 200~2-300kb or is there another workaround500kB, what are the drawbacks of doing this?

I import ~@angular/material/theming into many of my .scss files so that I have access to material colour palets.

But recently in Angular 9, I've been getting the following build warning:

WARNING in Exceeded maximum budget for [.scss file path]. Budget 6 kB was not met by 202 kB with a total of 208 kB.

Most of this budget overflow is from importing ~@angular/material/theming. Is it ok to increase budgets in angular.json to 200-300kb or is there another workaround?

I import ~@angular/material/theming into many of my .scss files so that I have access to material colour palets.

After updating to Angular 9, I've been getting the following build warning:

WARNING in Exceeded maximum budget for [.scss file path]. Budget 6 kB was not met by 202 kB with a total of 208 kB.

Most of this budget overflow is from importing ~@angular/material/theming. Is it ok to increase budgets in angular.json to ~2-500kB, what are the drawbacks of doing this?

Source Link

WARNING in Exceeded maximum budget when importing ~@angular/material/theming

I import ~@angular/material/theming into many of my .scss files so that I have access to material colour palets.

But recently in Angular 9, I've been getting the following build warning:

WARNING in Exceeded maximum budget for [.scss file path]. Budget 6 kB was not met by 202 kB with a total of 208 kB.

Most of this budget overflow is from importing ~@angular/material/theming. Is it ok to increase budgets in angular.json to 200-300kb or is there another workaround?