diff options
author | Chocobozzz <me@florianbigard.com> | 2017-12-20 09:04:52 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2017-12-20 09:05:16 +0100 |
commit | 24a8e782d8b2adb208d9cfb8659450395e2e2a77 (patch) | |
tree | 2f8aaebb8ec06c1c9b82728a9f46efd59163767f /scripts/build | |
parent | 1c6c7699f54e516839058529f11fb2e3d49c4ec0 (diff) | |
download | PeerTube-24a8e782d8b2adb208d9cfb8659450395e2e2a77.tar.gz PeerTube-24a8e782d8b2adb208d9cfb8659450395e2e2a77.tar.zst PeerTube-24a8e782d8b2adb208d9cfb8659450395e2e2a77.zip |
Add bootstrap analyzer and optimize build
Diffstat (limited to 'scripts/build')
-rwxr-xr-x | scripts/build/client.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/build/client.sh b/scripts/build/client.sh index 8e8da7cbc..e3137df37 100755 --- a/scripts/build/client.sh +++ b/scripts/build/client.sh | |||
@@ -4,5 +4,5 @@ cd client || exit -1 | |||
4 | 4 | ||
5 | rm -rf ./dist ./compiled | 5 | rm -rf ./dist ./compiled |
6 | 6 | ||
7 | npm run ng build -- --prod | 7 | npm run ng build -- --prod --stats-json |
8 | NODE_ENV=production npm run webpack -- --config webpack/webpack.video-embed.js | 8 | NODE_ENV=production npm run webpack -- --config webpack/webpack.video-embed.js |