PeerTube/scripts/build/embed.sh

10 lines
219 B
Bash
Executable File

#!/bin/bash
set -eu
cd client
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"