Skip to content

Commit 29f9914

Browse files
committed
Increase budget size to prevent 'ng build' warning
1 parent a71fdb1 commit 29f9914

File tree

1 file changed

+4
-9
lines changed

1 file changed

+4
-9
lines changed

angular.json

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,7 @@
2020
"outputPath": "dist/angular-example",
2121
"index": "src/index.html",
2222
"browser": "src/main.ts",
23-
"polyfills": [
24-
"zone.js"
25-
],
23+
"polyfills": ["zone.js"],
2624
"tsConfig": "tsconfig.app.json",
2725
"inlineStyleLanguage": "scss",
2826
"assets": [
@@ -42,8 +40,8 @@
4240
"budgets": [
4341
{
4442
"type": "initial",
45-
"maximumWarning": "500kB",
46-
"maximumError": "1MB"
43+
"maximumWarning": "1MB",
44+
"maximumError": "2MB"
4745
},
4846
{
4947
"type": "anyComponentStyle",
@@ -79,10 +77,7 @@
7977
"test": {
8078
"builder": "@angular-devkit/build-angular:karma",
8179
"options": {
82-
"polyfills": [
83-
"zone.js",
84-
"zone.js/testing"
85-
],
80+
"polyfills": ["zone.js", "zone.js/testing"],
8681
"tsConfig": "tsconfig.spec.json",
8782
"inlineStyleLanguage": "scss",
8883
"assets": [

0 commit comments

Comments
 (0)