aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/build/client.sh2
-rwxr-xr-xscripts/client-report.sh5
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
5rm -rf ./dist ./compiled 5rm -rf ./dist ./compiled
6 6
7npm run ng build -- --prod 7npm run ng build -- --prod --stats-json
8NODE_ENV=production npm run webpack -- --config webpack/webpack.video-embed.js 8NODE_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
3cd client || exit -1
4
5npm run webpack-bundle-analyzer ./dist/stats.json