aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts/client-report.sh
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2020-08-06 10:26:39 +0200
committerChocobozzz <chocobozzz@cpy.re>2020-08-06 10:58:36 +0200
commita3b5e78af3696f807e54bc4b11e559bbd9b6ba1e (patch)
tree037c42e9a7a637fba9be5d52800afba402eb9df2 /scripts/client-report.sh
parent5c145fe7ab6c1e975f5d43391316e8db9ca31974 (diff)
downloadPeerTube-a3b5e78af3696f807e54bc4b11e559bbd9b6ba1e.tar.gz
PeerTube-a3b5e78af3696f807e54bc4b11e559bbd9b6ba1e.tar.zst
PeerTube-a3b5e78af3696f807e54bc4b11e559bbd9b6ba1e.zip
Analyze embed too with bundlewatch
Diffstat (limited to 'scripts/client-report.sh')
-rwxr-xr-xscripts/client-report.sh4
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
3set -eu 3set -eu
4 4
5gawk -i inplace 'BEGIN { found=0 } { if (found || $0 ~ /^{/) { found=1; print }}' ./client/dist/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-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"