diff options
author | Chocobozzz <me@florianbigard.com> | 2020-06-26 08:37:26 +0200 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2020-08-07 08:28:14 +0200 |
commit | 583eb04b541175035d6d452ca626a96ebf2b7437 (patch) | |
tree | 114ba0a7004b4b2a7fc77444ef5fcb73414c6e93 /scripts | |
parent | 4504f09f6e85f09b0489debb547a17209d7176ea (diff) | |
download | PeerTube-583eb04b541175035d6d452ca626a96ebf2b7437.tar.gz PeerTube-583eb04b541175035d6d452ca626a96ebf2b7437.tar.zst PeerTube-583eb04b541175035d6d452ca626a96ebf2b7437.zip |
Upgrade to angular 10
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" |