]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - scripts/build/embed.sh
Merge branch 'release/4.2.0' into develop
[github/Chocobozzz/PeerTube.git] / scripts / build / embed.sh
CommitLineData
302cb3f9 1#!/bin/bash
c026a2e6
C
2
3set -eu
4
03d641a0
C
5cd client
6
a3b5e78a 7mkdir -p ./dist/standalone/videos/
583eb04b 8
33a53638
C
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