diff options
author | Chocobozzz <me@florianbigard.com> | 2020-08-06 10:26:39 +0200 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2020-08-06 10:58:36 +0200 |
commit | a3b5e78af3696f807e54bc4b11e559bbd9b6ba1e (patch) | |
tree | 037c42e9a7a637fba9be5d52800afba402eb9df2 /scripts/client-report.sh | |
parent | 5c145fe7ab6c1e975f5d43391316e8db9ca31974 (diff) | |
download | PeerTube-a3b5e78af3696f807e54bc4b11e559bbd9b6ba1e.tar.gz PeerTube-a3b5e78af3696f807e54bc4b11e559bbd9b6ba1e.tar.zst PeerTube-a3b5e78af3696f807e54bc4b11e559bbd9b6ba1e.zip |
Analyze embed too with bundlewatch
Diffstat (limited to 'scripts/client-report.sh')
-rwxr-xr-x | scripts/client-report.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/client-report.sh b/scripts/client-report.sh index 76609686b..f280fad20 100755 --- a/scripts/client-report.sh +++ b/scripts/client-report.sh | |||
@@ -2,8 +2,8 @@ | |||
2 | 2 | ||
3 | set -eu | 3 | set -eu |
4 | 4 | ||
5 | gawk -i inplace 'BEGIN { found=0 } { if (found || $0 ~ /^{/) { found=1; print }}' ./client/dist/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-es2015.json" \ |
9 | "cd client && npm run webpack-bundle-analyzer -- -p 8889 ./dist/embed-stats.json" | 9 | "cd client && npm run webpack-bundle-analyzer -- -p 8889 ./dist/standalone/videos/embed-stats.json" |