mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-02-25 18:55:32 -06:00
Add bootstrap analyzer and optimize build
This commit is contained in:
@@ -4,5 +4,5 @@ cd client || exit -1
|
||||
|
||||
rm -rf ./dist ./compiled
|
||||
|
||||
npm run ng build -- --prod
|
||||
npm run ng build -- --prod --stats-json
|
||||
NODE_ENV=production npm run webpack -- --config webpack/webpack.video-embed.js
|
||||
|
||||
5
scripts/client-report.sh
Executable file
5
scripts/client-report.sh
Executable file
@@ -0,0 +1,5 @@
|
||||
#!/bin/bash
|
||||
|
||||
cd client || exit -1
|
||||
|
||||
npm run webpack-bundle-analyzer ./dist/stats.json
|
||||
Reference in New Issue
Block a user