/* in angular.json file:*/
"budgets": [
{
"type": "initial",
"maximumWarning": "4mb", /*<=== change here as you need*/
"maximumError": "5mb"
}
]
"budgets": [
{
"type": "initial",
"maximumWarning": "2mb",
"maximumError": "5mb"
}
]