aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts/build/client/prod.sh
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2016-06-03 22:47:55 +0200
committerChocobozzz <florian.bigard@gmail.com>2016-06-03 22:47:55 +0200
commitb20b5fed405f0ab24d24709d7db65625a79f3b37 (patch)
tree70d4b81dc0865ea2b56e278fed77146e5a89934b /scripts/build/client/prod.sh
parentfc76359be11956f8514fc0dda1f66bb1c3397d26 (diff)
downloadPeerTube-b20b5fed405f0ab24d24709d7db65625a79f3b37.tar.gz
PeerTube-b20b5fed405f0ab24d24709d7db65625a79f3b37.tar.zst
PeerTube-b20b5fed405f0ab24d24709d7db65625a79f3b37.zip
Add production webpack, big thanks to @AngularClass
Diffstat (limited to 'scripts/build/client/prod.sh')
-rwxr-xr-xscripts/build/client/prod.sh5
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
3cd client || exit -1
4
5npm run webpack -- --config config/webpack.prod.js --progress --profile --colors --display-error-details --display-cached --bail