Answers for "ERROR in budgets: bundle initial-es5 exceeded maximum budget. Budget 5 MB was not met by 128 kB with a total of 5.12 MB."

1

ERROR in budgets: Exceeded maximum budget for initial-es2015. Budget 5 MB was not met by 221 kB with a total of 5.22 MB

"budgets": [
                {
                  "type": "initial",
                  "maximumWarning": "500kb",
                  "maximumError": "1mb"
                },
                {
                  "type": "anyComponentStyle",
                  "maximumWarning": "2kb",
                  "maximumError": "4kb"
                }
              ],
Posted by: Guest on July-04-2021
0

ERROR in budgets: bundle initial-es5 exceeded maximum budget. Budget 5 MB was not met by 128 kB with a total of 5.12 MB.

//Open angular.json file and find budgets keyword.
"budgets": [
       {
          "type": "initial",
          "maximumWarning": "2mb", <===default is 2mb and 5mb, 
          "maximumError": "5mb"	  <===increase it to what you need
       }
    ]
Posted by: Guest on August-26-2021

Code answers related to "ERROR in budgets: bundle initial-es5 exceeded maximum budget. Budget 5 MB was not met by 128 kB with a total of 5.12 MB."

Browse Popular Code Answers by Language