build: add stageWeb target

This commit is contained in:
Johannes Millan 2020-10-04 15:54:19 +02:00
parent 4a8d4428ed
commit c3f5b18535
2 changed files with 25 additions and 0 deletions

View file

@ -116,6 +116,30 @@
"vendorChunk": false,
"buildOptimizer": true,
"serviceWorker": false
},
"stageWeb": {
"budgets": [
{
"type": "anyComponentStyle",
"maximumWarning": "6kb"
}
],
"fileReplacements": [
{
"replace": "src/environments/environment.ts",
"with": "src/environments/environment.prod.ts"
}
],
"optimization": true,
"outputHashing": "all",
"sourceMap": true,
"extractCss": true,
"namedChunks": false,
"aot": true,
"extractLicenses": true,
"vendorChunk": false,
"buildOptimizer": true,
"serviceWorker": true
}
}
},