]>
Commit | Line | Data |
---|---|---|
302cb3f9 | 1 | #!/bin/bash |
c026a2e6 C |
2 | |
3 | set -eu | |
4 | ||
03d641a0 C |
5 | cd client |
6 | ||
a3b5e78a | 7 | mkdir -p ./dist/standalone/videos/ |
583eb04b | 8 | |
33a53638 C |
9 | if [ ! -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" | |
11 | else | |
12 | NODE_ENV=production npm run webpack -- --config webpack/webpack.video-embed.js --mode production | |
13 | fi |