X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=scripts%2Fbuild%2Fclient.sh;h=d95bb95745974507eedad2e0761c4f7f99b99365;hb=6d767de3fecd64f2362ce161c9f970afee9e49cc;hp=2518702cffa4cc304a87322f975c99bfe79aad7d;hpb=a42294c5edbdea3075c8defc03ba2cb73e0d86fc;p=github%2FChocobozzz%2FPeerTube.git diff --git a/scripts/build/client.sh b/scripts/build/client.sh index 2518702cf..d95bb9574 100755 --- a/scripts/build/client.sh +++ b/scripts/build/client.sh @@ -62,7 +62,7 @@ if [ -z ${1+x} ] || [ "$1" != "--light" ]; then done fi -NODE_ENV=production npm run webpack -- --config webpack/webpack.video-embed.js --mode production --json > "./dist/embed-stats.json" +cd ../ && npm run build:embed && cd client/ # Copy runtime locales cp -r "./src/locale" "./dist/locale"