mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2024-09-11 13:37:10 +03:00
9 lines
336 B
Bash
Executable File
9 lines
336 B
Bash
Executable File
#!/bin/sh
|
|
|
|
set -eu
|
|
|
|
gawk -i inplace 'BEGIN { found=0 } { if (found || $0 ~ /^{/) { found=1; print }}' ./client/dist/embed-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/embed-stats.json" |