X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=scripts%2Fclient-report.sh;h=f71aa48ed7ba98e2f404b0165ab38fb6dce486e2;hb=4cf800a350972a078c074da6b31da2b98ab4b007;hp=4dd4b418b5d43dcc3a43ed7664d8921309844114;hpb=0e4ffb4b678962d5ff7a4a7d8952033bc84725da;p=github%2FChocobozzz%2FPeerTube.git diff --git a/scripts/client-report.sh b/scripts/client-report.sh index 4dd4b418b..f71aa48ed 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/standalone/videos/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.json" \ + "cd client && npm run webpack-bundle-analyzer -- -p 8889 ./dist/standalone/videos/embed-stats.json"