aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts/build
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-06-07 16:50:33 +0200
committerChocobozzz <me@florianbigard.com>2018-06-07 16:50:33 +0200
commit6cca7360eb9027e1544f7513df7da4684061ef7e (patch)
tree16550f99324234a94cb7cdb098001051400079c9 /scripts/build
parent09f35e2a6fa71d593c9b22f90109e91fc6be89a1 (diff)
downloadPeerTube-6cca7360eb9027e1544f7513df7da4684061ef7e.tar.gz
PeerTube-6cca7360eb9027e1544f7513df7da4684061ef7e.tar.zst
PeerTube-6cca7360eb9027e1544f7513df7da4684061ef7e.zip
Reduce bundle sizes
Diffstat (limited to 'scripts/build')
-rwxr-xr-xscripts/build/client.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/build/client.sh b/scripts/build/client.sh
index d3da7cfcf..58aca437b 100755
--- a/scripts/build/client.sh
+++ b/scripts/build/client.sh
@@ -21,7 +21,7 @@ for lang in "$languages"; do
21 rm -r "./dist/$lang/assets" 21 rm -r "./dist/$lang/assets"
22done 22done
23 23
24NODE_ENV=production npm run webpack -- --config webpack/webpack.video-embed.js --mode production 24NODE_ENV=production npm run webpack -- --config webpack/webpack.video-embed.js --mode production --json > "./dist/embed-stats.json"
25 25
26# Copy runtime locales 26# Copy runtime locales
27cp -r "./src/locale/target" "./dist/locale" \ No newline at end of file 27cp -r "./src/locale/target" "./dist/locale" \ No newline at end of file