aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2017-12-12 11:38:02 +0100
committerChocobozzz <me@florianbigard.com>2017-12-12 11:42:48 +0100
commit7bfd1b1edb7ea4ea6516b6a74c4e9af938d0bdc6 (patch)
tree722781d5d89fe438e7491da7e9d09dedd8c82a74 /scripts
parent63c4db6d71b98523753c51747e308682d9a2e8a0 (diff)
downloadPeerTube-7bfd1b1edb7ea4ea6516b6a74c4e9af938d0bdc6.tar.gz
PeerTube-7bfd1b1edb7ea4ea6516b6a74c4e9af938d0bdc6.tar.zst
PeerTube-7bfd1b1edb7ea4ea6516b6a74c4e9af938d0bdc6.zip
Upgrade scripts and embed webpack config
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/build/client.sh5
-rwxr-xr-xscripts/watch/client.sh2
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
3cd client || exit -1 3cd client || exit -1
4 4
5rm -rf ./compiled ./dist 5rm -rf ./dist
6 6
7npm run webpack -- --config config/webpack.prod.js --progress --profile --bail 7ng build -- --prod
8NODE_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
3cd client || exit -1 3cd client || exit -1
4 4
5npm run webpack-dev-server -- --config config/webpack.dev.js --progress --profile --colors --watch --content-base src/ --hotOnly --open 5ng server --host localhost --port 3000