2018-03-27 04:35:12 -04:00
|
|
|
#!/bin/sh
|
2017-12-20 03:04:52 -05:00
|
|
|
|
2018-03-27 04:35:12 -04:00
|
|
|
set -eu
|
|
|
|
|
2020-08-06 04:26:39 -04:00
|
|
|
gawk -i inplace 'BEGIN { found=0 } { if (found || $0 ~ /^{/) { found=1; print }}' ./client/dist/standalone/videos/embed-stats.json
|
2017-12-20 03:04:52 -05:00
|
|
|
|
2018-06-07 10:50:33 -04:00
|
|
|
npm run concurrently -- -k \
|
2020-06-26 02:37:26 -04:00
|
|
|
"cd client && npm run webpack-bundle-analyzer -- -p 8888 ./dist/en-US/stats.json" \
|
2020-08-06 04:26:39 -04:00
|
|
|
"cd client && npm run webpack-bundle-analyzer -- -p 8889 ./dist/standalone/videos/embed-stats.json"
|