diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2016-06-03 22:47:55 +0200 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2016-06-03 22:47:55 +0200 |
commit | b20b5fed405f0ab24d24709d7db65625a79f3b37 (patch) | |
tree | 70d4b81dc0865ea2b56e278fed77146e5a89934b /scripts | |
parent | fc76359be11956f8514fc0dda1f66bb1c3397d26 (diff) | |
download | PeerTube-b20b5fed405f0ab24d24709d7db65625a79f3b37.tar.gz PeerTube-b20b5fed405f0ab24d24709d7db65625a79f3b37.tar.zst PeerTube-b20b5fed405f0ab24d24709d7db65625a79f3b37.zip |
Add production webpack, big thanks to @AngularClass
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/build/client/prod.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/build/client/prod.sh b/scripts/build/client/prod.sh new file mode 100755 index 000000000..478cae99e --- /dev/null +++ b/scripts/build/client/prod.sh | |||
@@ -0,0 +1,5 @@ | |||
1 | #!/usr/bin/env sh | ||
2 | |||
3 | cd client || exit -1 | ||
4 | |||
5 | npm run webpack -- --config config/webpack.prod.js --progress --profile --colors --display-error-details --display-cached --bail | ||