Add more build options
This commit is contained in:
parent
3c91e5d8e0
commit
17b98e18ce
19
angular.json
19
angular.json
|
@ -70,6 +70,22 @@
|
|||
],
|
||||
"outputHashing": "all"
|
||||
},
|
||||
"productionDebug": {
|
||||
"budgets": [
|
||||
{
|
||||
"type": "initial",
|
||||
"maximumWarning": "500kb",
|
||||
"maximumError": "1mb"
|
||||
},
|
||||
{
|
||||
"type": "anyComponentStyle",
|
||||
"maximumWarning": "2kb",
|
||||
"maximumError": "4kb"
|
||||
}
|
||||
],
|
||||
"outputHashing": "all",
|
||||
"localize": ["de"]
|
||||
},
|
||||
"development": {
|
||||
"buildOptimizer": false,
|
||||
"optimization": false,
|
||||
|
@ -94,6 +110,9 @@
|
|||
"production": {
|
||||
"browserTarget": "wahlrecht-frontend:build:production"
|
||||
},
|
||||
"productionDebug": {
|
||||
"browserTarget": "wahlrecht-frontend:build:productionDebug"
|
||||
},
|
||||
"development": {
|
||||
"browserTarget": "wahlrecht-frontend:build:development"
|
||||
}
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
"ng": "ng",
|
||||
"start": "ng serve",
|
||||
"build": "ng build",
|
||||
"build:stats": "ng build --stats-json",
|
||||
"build:stats": "ng build -c development --stats-json",
|
||||
"build:production": "ng build -c production",
|
||||
"build:production:stats": "ng build -c production --stats-json",
|
||||
"analyze": "webpack-bundle-analyzer dist/wahlrecht-frontend/de/stats.json",
|
||||
|
|
Loading…
Reference in New Issue