From 583eb04b541175035d6d452ca626a96ebf2b7437 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 26 Jun 2020 08:37:26 +0200 Subject: Upgrade to angular 10 --- scripts/build/embed.sh | 1 + scripts/client-report.sh | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'scripts') 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 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" 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 gawk -i inplace 'BEGIN { found=0 } { if (found || $0 ~ /^{/) { found=1; print }}' ./client/dist/standalone/videos/embed-stats.json npm run concurrently -- -k \ - "cd client && npm run webpack-bundle-analyzer -- -p 8888 ./dist/en-US/stats-es2015.json" \ + "cd client && npm run webpack-bundle-analyzer -- -p 8888 ./dist/en-US/stats.json" \ "cd client && npm run webpack-bundle-analyzer -- -p 8889 ./dist/standalone/videos/embed-stats.json" -- cgit v1.2.3