]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame_incremental - scripts/build/embed.sh
More specific message when signup is not allowed
[github/Chocobozzz/PeerTube.git] / scripts / build / embed.sh
... / ...
CommitLineData
1#!/bin/bash
2
3set -eu
4
5cd client
6
7mkdir -p ./dist/standalone/videos/
8
9if [ ! -z ${ANALYZE_BUNDLE+x} ] && [ "$ANALYZE_BUNDLE" == true ]; then
10 NODE_ENV=production npm run webpack -- --config webpack/webpack.video-embed.js --mode production --json > "./dist/standalone/videos/embed-stats.json"
11else
12 NODE_ENV=production npm run webpack -- --config webpack/webpack.video-embed.js --mode production
13fi