I migrated my Angular project from 8 to 9
When i execute the command ng build --prod
I'am getting multiple errors on scss files similar to the following :
ERROR in Exceeded maximum budget for /Users/HASSEN/IdeaProjects/my-anuglar-project/src/app/navigation/sidenav-content/sidenav-content.component.scss. Budget 10 kB was not met by 51.9 kB with a total of 61.9 kB.
I don't want to increase the budget limit in the angular.json file because it's unreasonable since i didn't modify any of those scss files.
"buildOptimizer": true,
"budgets": [
{
"type": "initial",
"maximumWarning": "5mb",
"maximumError": "6mb"
},
{
"type": "anyComponentStyle",
"maximumWarning": "6kb",
"maximumError": "10kb"
}
]