X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=scripts%2Fbuild%2Fembed.sh;h=a243ce64095301f174871a8ac7035cdc71263af3;hb=6297bae0c1abf0e318fa7557a59e1bdbf26dcc6b;hp=ea5e7d57dce27460ab56472f4bc010244582cfbe;hpb=c026a2e67357bd4bd4fcc4c10f8c5cd4749435c9;p=github%2FChocobozzz%2FPeerTube.git diff --git a/scripts/build/embed.sh b/scripts/build/embed.sh index ea5e7d57d..a243ce640 100755 --- a/scripts/build/embed.sh +++ b/scripts/build/embed.sh @@ -1,5 +1,9 @@ -#!/bin/sh +#!/bin/bash set -eu -NODE_ENV=production npm run webpack -- --config webpack/webpack.video-embed.js --mode production --json > "./dist/embed-stats.json" +cd client + +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"