PeerTube/scripts/build/embed.sh

9 lines
218 B
Bash
Raw Normal View History

2020-02-19 08:57:32 +01:00
#!/bin/bash
2019-12-17 15:33:58 +01:00
set -eu
2019-12-17 16:17:22 +01:00
cd client
2020-08-06 10:26:39 +02:00
mkdir -p ./dist/standalone/videos/
NODE_ENV=production npm run webpack -- --config webpack/webpack.video-embed.js --mode production --json > "./dist/standalone/videos/embed-stats.json"