mirror of
https://github.com/johannesjo/super-productivity.git
synced 2026-01-23 02:36:05 +00:00
build: add stageWeb target
This commit is contained in:
parent
4a8d4428ed
commit
c3f5b18535
2 changed files with 25 additions and 0 deletions
24
angular.json
24
angular.json
|
|
@ -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
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
|
|||
|
|
@ -25,6 +25,7 @@
|
|||
"buildFrontend:prod": "node --max_old_space_size=4096 ./node_modules/@angular/cli/bin/ng build --aot --prod",
|
||||
"buildFrontend:prodWeb": "node --max_old_space_size=4096 ./node_modules/@angular/cli/bin/ng build --aot --prod --configuration productionWeb",
|
||||
"buildFrontend:stage": "node --max_old_space_size=4096 ./node_modules/@angular/cli/bin/ng build --aot --prod --configuration stage",
|
||||
"buildFrontend:stageWeb": "node --max_old_space_size=4096 ./node_modules/@angular/cli/bin/ng build --aot --prod --configuration stageWeb",
|
||||
"buildFrontend:prod:watch": "node --max_old_space_size=4096 ./node_modules/@angular/cli/bin/ng build --aot --prod --watch",
|
||||
"buildAllElectron:prod": "yarn preCheck && yarn buildFrontend:prod && yarn electron:build",
|
||||
"buildAllElectron:stage": "yarn preCheck && yarn buildFrontend:stage && yarn electron:build",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue