diff options
author | Chocobozzz <me@florianbigard.com> | 2017-12-12 11:38:02 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2017-12-12 11:42:48 +0100 |
commit | 7bfd1b1edb7ea4ea6516b6a74c4e9af938d0bdc6 (patch) | |
tree | 722781d5d89fe438e7491da7e9d09dedd8c82a74 /scripts/build | |
parent | 63c4db6d71b98523753c51747e308682d9a2e8a0 (diff) | |
download | PeerTube-7bfd1b1edb7ea4ea6516b6a74c4e9af938d0bdc6.tar.gz PeerTube-7bfd1b1edb7ea4ea6516b6a74c4e9af938d0bdc6.tar.zst PeerTube-7bfd1b1edb7ea4ea6516b6a74c4e9af938d0bdc6.zip |
Upgrade scripts and embed webpack config
Diffstat (limited to 'scripts/build')
-rwxr-xr-x | scripts/build/client.sh | 5 |
1 files changed, 3 insertions, 2 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 | ||