browser target is added
This commit is contained in:
parent
70e17b4a3d
commit
760b098fc4
35
angular.json
35
angular.json
|
@ -159,6 +159,38 @@
|
|||
}
|
||||
]
|
||||
},
|
||||
"browser-daesang-development": {
|
||||
"fileReplacements": [
|
||||
{
|
||||
"replace": "projects/ucap-webmessenger-app/src/environments/environment.ts",
|
||||
"with": "projects/ucap-webmessenger-app/src/environments/environment-browser.daesang.dev.ts"
|
||||
}
|
||||
],
|
||||
"outputPath": "dist/ucap-webmessenger-app-browser",
|
||||
"polyfills": "projects/ucap-webmessenger-app/src/polyfills-es5.ts",
|
||||
"tsConfig": "projects/ucap-webmessenger-app/tsconfig-es5.app.json",
|
||||
"optimization": false,
|
||||
"outputHashing": "all",
|
||||
"sourceMap": true,
|
||||
"extractCss": true,
|
||||
"namedChunks": false,
|
||||
"aot": false,
|
||||
"extractLicenses": true,
|
||||
"vendorChunk": false,
|
||||
"buildOptimizer": false,
|
||||
"budgets": [
|
||||
{
|
||||
"type": "initial",
|
||||
"maximumWarning": "2mb",
|
||||
"maximumError": "5mb"
|
||||
},
|
||||
{
|
||||
"type": "anyComponentStyle",
|
||||
"maximumWarning": "6kb",
|
||||
"maximumError": "10kb"
|
||||
}
|
||||
]
|
||||
},
|
||||
"renderer-daesang-development": {
|
||||
"fileReplacements": [
|
||||
{
|
||||
|
@ -240,6 +272,9 @@
|
|||
"renderer-production": {
|
||||
"browserTarget": "ucap-webmessenger-app:build:renderer-production"
|
||||
},
|
||||
"browser-daesang-development": {
|
||||
"browserTarget": "ucap-webmessenger-app:build:browser-daesang-development"
|
||||
},
|
||||
"renderer-daesang-development": {
|
||||
"browserTarget": "ucap-webmessenger-app:build:renderer-daesang-development"
|
||||
},
|
||||
|
|
|
@ -10,6 +10,7 @@
|
|||
"start:daesang": "npm-run-all -p start:daesang:renderer start:daesang:main",
|
||||
"start:daesang:main": "wait-on http-get://localhost:4200/ && npm run build:daesang:main:development && electron --nolazy --inspect-brk=9229 .",
|
||||
"start:daesang:renderer": "cross-env UCAP_ENV_RUNTIME=ELECTRON ng serve -c renderer-daesang-development",
|
||||
"start:daesang:browser": "cross-env UCAP_ENV_RUNTIME=BROWSER ng serve -c browser-daesang-development -o",
|
||||
"start:browser": "cross-env UCAP_ENV_RUNTIME=BROWSER ng serve -c browser-development -o",
|
||||
"build": "npm-run-all -p build:renderer build:main:production",
|
||||
"build:renderer": "cross-env NODE_ENV=production ng build -c renderer-development --base-href ./",
|
||||
|
|
Loading…
Reference in New Issue
Block a user