aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/build/embed.sh1
-rwxr-xr-xscripts/client-report.sh2
2 files changed, 2 insertions, 1 deletions
diff --git a/scripts/build/embed.sh b/scripts/build/embed.sh
index 3fcfc6ba2..a243ce640 100755
--- a/scripts/build/embed.sh
+++ b/scripts/build/embed.sh
@@ -5,4 +5,5 @@ set -eu
5cd client 5cd client
6 6
7mkdir -p ./dist/standalone/videos/ 7mkdir -p ./dist/standalone/videos/
8
8NODE_ENV=production npm run webpack -- --config webpack/webpack.video-embed.js --mode production --json > "./dist/standalone/videos/embed-stats.json" 9NODE_ENV=production npm run webpack -- --config webpack/webpack.video-embed.js --mode production --json > "./dist/standalone/videos/embed-stats.json"
diff --git a/scripts/client-report.sh b/scripts/client-report.sh
index f280fad20..f71aa48ed 100755
--- a/scripts/client-report.sh
+++ b/scripts/client-report.sh
@@ -5,5 +5,5 @@ set -eu
5gawk -i inplace 'BEGIN { found=0 } { if (found || $0 ~ /^{/) { found=1; print }}' ./client/dist/standalone/videos/embed-stats.json 5gawk -i inplace 'BEGIN { found=0 } { if (found || $0 ~ /^{/) { found=1; print }}' ./client/dist/standalone/videos/embed-stats.json
6 6
7npm run concurrently -- -k \ 7npm run concurrently -- -k \
8 "cd client && npm run webpack-bundle-analyzer -- -p 8888 ./dist/en-US/stats-es2015.json" \ 8 "cd client && npm run webpack-bundle-analyzer -- -p 8888 ./dist/en-US/stats.json" \
9 "cd client && npm run webpack-bundle-analyzer -- -p 8889 ./dist/standalone/videos/embed-stats.json" 9 "cd client && npm run webpack-bundle-analyzer -- -p 8889 ./dist/standalone/videos/embed-stats.json"