setup bundle budgets

This commit is contained in:
Denys Vuika
2019-07-12 12:00:48 +01:00
parent 1640a16c78
commit 04f4a28a7d
+14
View File
@@ -104,6 +104,20 @@
"replace": "src/environments/environment.ts",
"with": "src/environments/environment.prod.ts"
}
],
"budgets": [
{
"type": "bundle",
"name": "main",
"maximumWarning": "2mb",
"maximumError": "5mb"
},
{
"type": "bundle",
"name": "vendor",
"maximumWarning": "10mb",
"maximumError": "15mb"
}
]
},
"e2e": {