X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=scripts%2Fclient-report.sh;h=76609686b9188ba0bad0541c66e6786c09d3028b;hb=5c145fe7ab6c1e975f5d43391316e8db9ca31974;hp=4dd4b418b5d43dcc3a43ed7664d8921309844114;hpb=0e4ffb4b678962d5ff7a4a7d8952033bc84725da;p=github%2FChocobozzz%2FPeerTube.git diff --git a/scripts/client-report.sh b/scripts/client-report.sh index 4dd4b418b..76609686b 100755 --- a/scripts/client-report.sh +++ b/scripts/client-report.sh @@ -2,6 +2,8 @@ set -eu -cd client +gawk -i inplace 'BEGIN { found=0 } { if (found || $0 ~ /^{/) { found=1; print }}' ./client/dist/embed-stats.json -npm run webpack-bundle-analyzer ./dist/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 8889 ./dist/embed-stats.json"