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