]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - scripts/build/embed.sh
Don't check enum for video model
[github/Chocobozzz/PeerTube.git] / scripts / build / embed.sh
index 47e195d962f7440d2097524df9772e7e12c81a53..a243ce64095301f174871a8ac7035cdc71263af3 100755 (executable)
@@ -1,7 +1,9 @@
-#!/bin/sh
+#!/bin/bash
 
 set -eu
 
 cd client
 
-NODE_ENV=production npm run webpack -- --config webpack/webpack.video-embed.js --mode production --json > "./dist/embed-stats.json"
+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"