PeerTube/scripts/build/client.sh

9 lines
180 B
Bash
Executable File

#!/bin/bash
cd client || exit -1
rm -rf ./dist ./compiled
npm run ng build -- --prod --stats-json
NODE_ENV=production npm run webpack -- --config webpack/webpack.video-embed.js