]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - scripts/build/embed.sh
deal with refresh token in embed
[github/Chocobozzz/PeerTube.git] / scripts / build / embed.sh
index 47e195d962f7440d2097524df9772e7e12c81a53..3fcfc6ba2ef0f9ac4fbf1430f66dfd791faa8718 100755 (executable)
@@ -1,7 +1,8 @@
-#!/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"