WARNING/ERROR in budgets, maximum exceeded for initial
Error Description | ERROR in budgets: initial exceeded maximum budget. Budget 5 MB was not met by 16.9 MB with a total of 21.9 MB. |
---|---|
Technology | Angular |
Fix URL List | Budget Warning/Error |
change angular.json budget:
before:
"budgets": [
{
"type": "initial",
"maximumWarning": "4mb",
"maximumError": "5mb"
},
{
"type": "anyComponentStyle",
"maximumWarning": "6kb",
"maximumError": "10kb"
}
]
after:
"budgets": [
{
"type": "initial",
"maximumWarning": "24mb",
"maximumError": "25mb"
},
{
"type": "anyComponentStyle",
"maximumWarning": "6kb",
"maximumError": "10kb"
}
]