diff options
author | Chocobozzz <me@florianbigard.com> | 2018-06-07 16:50:33 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-06-07 16:50:33 +0200 |
commit | 6cca7360eb9027e1544f7513df7da4684061ef7e (patch) | |
tree | 16550f99324234a94cb7cdb098001051400079c9 /scripts/build/client.sh | |
parent | 09f35e2a6fa71d593c9b22f90109e91fc6be89a1 (diff) | |
download | PeerTube-6cca7360eb9027e1544f7513df7da4684061ef7e.tar.gz PeerTube-6cca7360eb9027e1544f7513df7da4684061ef7e.tar.zst PeerTube-6cca7360eb9027e1544f7513df7da4684061ef7e.zip |
Reduce bundle sizes
Diffstat (limited to 'scripts/build/client.sh')
-rwxr-xr-x | scripts/build/client.sh | 2 |
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" |
22 | done | 22 | done |
23 | 23 | ||
24 | NODE_ENV=production npm run webpack -- --config webpack/webpack.video-embed.js --mode production | 24 | NODE_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 |
27 | cp -r "./src/locale/target" "./dist/locale" \ No newline at end of file | 27 | cp -r "./src/locale/target" "./dist/locale" \ No newline at end of file |