diff options
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/build/client.sh | 2 | ||||
-rwxr-xr-x | scripts/client-report.sh | 5 |
2 files changed, 6 insertions, 1 deletions
diff --git a/scripts/build/client.sh b/scripts/build/client.sh index 8e8da7cbc..e3137df37 100755 --- a/scripts/build/client.sh +++ b/scripts/build/client.sh | |||
@@ -4,5 +4,5 @@ cd client || exit -1 | |||
4 | 4 | ||
5 | rm -rf ./dist ./compiled | 5 | rm -rf ./dist ./compiled |
6 | 6 | ||
7 | npm run ng build -- --prod | 7 | npm run ng build -- --prod --stats-json |
8 | NODE_ENV=production npm run webpack -- --config webpack/webpack.video-embed.js | 8 | NODE_ENV=production npm run webpack -- --config webpack/webpack.video-embed.js |
diff --git a/scripts/client-report.sh b/scripts/client-report.sh new file mode 100755 index 000000000..586cc2e47 --- /dev/null +++ b/scripts/client-report.sh | |||
@@ -0,0 +1,5 @@ | |||
1 | #!/bin/bash | ||
2 | |||
3 | cd client || exit -1 | ||
4 | |||
5 | npm run webpack-bundle-analyzer ./dist/stats.json | ||