PeerTube/scripts/build/client.sh

11 lines
194 B
Bash
Raw Normal View History

2018-03-27 10:35:12 +02:00
#!/bin/sh
2018-03-27 10:35:12 +02:00
set -eu
cd client
2017-12-13 17:51:32 +01:00
rm -rf ./dist ./compiled
2017-04-26 21:46:56 +02:00
npm run ng build -- --prod --stats-json
2018-04-06 16:06:43 +02:00
NODE_ENV=production npm run webpack -- --config webpack/webpack.video-embed.js --mode production