diff options
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/build/client.sh | 5 | ||||
-rwxr-xr-x | scripts/watch/client.sh | 2 |
2 files changed, 4 insertions, 3 deletions
diff --git a/scripts/build/client.sh b/scripts/build/client.sh index 3a1532daf..f34f5130f 100755 --- a/scripts/build/client.sh +++ b/scripts/build/client.sh | |||
@@ -2,6 +2,7 @@ | |||
2 | 2 | ||
3 | cd client || exit -1 | 3 | cd client || exit -1 |
4 | 4 | ||
5 | rm -rf ./compiled ./dist | 5 | rm -rf ./dist |
6 | 6 | ||
7 | npm run webpack -- --config config/webpack.prod.js --progress --profile --bail | 7 | ng build -- --prod |
8 | NODE_ENV=production npm run webpack -- --config webpack/webpack.video-embed.js | ||
diff --git a/scripts/watch/client.sh b/scripts/watch/client.sh index d5eb25818..b754ade76 100755 --- a/scripts/watch/client.sh +++ b/scripts/watch/client.sh | |||
@@ -2,4 +2,4 @@ | |||
2 | 2 | ||
3 | cd client || exit -1 | 3 | cd client || exit -1 |
4 | 4 | ||
5 | npm run webpack-dev-server -- --config config/webpack.dev.js --progress --profile --colors --watch --content-base src/ --hotOnly --open | 5 | ng server --host localhost --port 3000 |