diff options
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/build/embed.sh | 1 | ||||
-rwxr-xr-x | scripts/client-report.sh | 2 |
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 | |||
5 | cd client | 5 | cd client |
6 | 6 | ||
7 | mkdir -p ./dist/standalone/videos/ | 7 | mkdir -p ./dist/standalone/videos/ |
8 | |||
8 | NODE_ENV=production npm run webpack -- --config webpack/webpack.video-embed.js --mode production --json > "./dist/standalone/videos/embed-stats.json" | 9 | NODE_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 | |||
5 | gawk -i inplace 'BEGIN { found=0 } { if (found || $0 ~ /^{/) { found=1; print }}' ./client/dist/standalone/videos/embed-stats.json | 5 | gawk -i inplace 'BEGIN { found=0 } { if (found || $0 ~ /^{/) { found=1; print }}' ./client/dist/standalone/videos/embed-stats.json |
6 | 6 | ||
7 | npm run concurrently -- -k \ | 7 | npm 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" |