PeerTube/scripts/build/client.sh

11 lines
194 B
Bash
Raw Normal View History

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