build config is modified
This commit is contained in:
parent
e46d3481b0
commit
67e27594ea
|
@ -4,7 +4,7 @@ services:
|
||||||
nginx:
|
nginx:
|
||||||
image: nginx:1.17.5-alpine
|
image: nginx:1.17.5-alpine
|
||||||
volumes:
|
volumes:
|
||||||
- ../dist/ucap-webmessenger-app-browser:/usr/share/nginx/html:ro
|
- ../dist/web:/usr/share/nginx/html:ro
|
||||||
- ./nginx/nginx.conf:/etc/nginx/nginx.conf:ro
|
- ./nginx/nginx.conf:/etc/nginx/nginx.conf:ro
|
||||||
ports:
|
ports:
|
||||||
- 8099:80
|
- 8099:80
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
"start:browser": "cross-env UCAP_ENV_RUNTIME=BROWSER ng serve -c browser-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": "npm-run-all -p build:renderer build:main:production",
|
||||||
"build:renderer": "cross-env NODE_ENV=production ng build -c renderer-development --base-href ./",
|
"build:renderer": "cross-env NODE_ENV=production ng build -c renderer-development --base-href ./",
|
||||||
"build:browser": "cross-env UCAP_ENV_RUNTIME=BROWSER ng build -c browser-development",
|
"build:browser": "cross-env UCAP_ENV_RUNTIME=BROWSER ng build -c browser-development --base-href ./NextMessenger_POC",
|
||||||
"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: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",
|
"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:local": "electron .",
|
||||||
|
|
Loading…
Reference in New Issue
Block a user