]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - scripts/build/client.sh
publish comment on crtl-enter (#290)
[github/Chocobozzz/PeerTube.git] / scripts / build / client.sh
index 65b67edcfe8d4110ccbf9ec2d2fc49fd1cfb0947..e3137df37fcfec5c01d8b41e062e075eae7ecca9 100755 (executable)
@@ -1,7 +1,8 @@
-#!/usr/bin/env sh
+#!/bin/bash
 
 cd client || exit -1
 
-rm -rf ./compiled
+rm -rf ./dist ./compiled
 
-npm run webpack -- --config config/webpack.prod.js  --progress --profile --bail
+npm run ng build -- --prod --stats-json
+NODE_ENV=production npm run webpack -- --config webpack/webpack.video-embed.js