packaging is modified

This commit is contained in:
병준 박 2019-11-18 18:21:55 +09:00
parent c6e05667fe
commit 65fcd9aa19
2 changed files with 5 additions and 3 deletions

View File

@ -41,6 +41,7 @@
"with": "projects/ucap-webmessenger-app/src/environments/environment-browser.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,
@ -72,6 +73,7 @@
"with": "projects/ucap-webmessenger-app/src/environments/environment-browser.prod.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": true,

View File

@ -14,9 +14,9 @@
"build:main:development": "cross-env NODE_ENV=development TS_NODE_PROJECT='./config/tsconfig.webpack.json' parallel-webpack --config=config/main.webpack.config.ts",
"build:main:production": "cross-env NODE_ENV=production TS_NODE_PROJECT='./config/tsconfig.webpack.json' NODE_OPTIONS='--max_old_space_size=4096' parallel-webpack --config=config/main.webpack.config.ts",
"electron:local": "electron .",
"electron:windows": "electron-builder build --windows",
"electron:mac": "electron-builder build --mac",
"electron:linux": "electron-builder build --linux",
"electron:windows": "npm run build && electron-builder build --windows",
"electron:mac": "npm run build && electron-builder build --mac",
"electron:linux": "npm run build && electron-builder build --linux",
"test": "ng test",
"lint": "ng lint",
"e2e": "ng e2e"