client-report.sh 373 B

123456789
  1. #!/bin/sh
  2. set -eu
  3. gawk -i inplace 'BEGIN { found=0 } { if (found || $0 ~ /^{/) { found=1; print }}' ./client/dist/standalone/videos/embed-stats.json
  4. npm run concurrently -- -k \
  5. "cd client && npm run webpack-bundle-analyzer -- -p 8888 ./dist/en-US/stats.json" \
  6. "cd client && npm run webpack-bundle-analyzer -- -p 8889 ./dist/standalone/videos/embed-stats.json"