aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts/build/client.sh
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-08-18 10:32:40 +0200
committerChocobozzz <me@florianbigard.com>2021-08-18 10:32:40 +0200
commit33a53638c2b7a41a4e39558582f604d3036d4fa3 (patch)
tree4d68302f4be0a64a41955ff590db0977dd78b3a3 /scripts/build/client.sh
parent64ef55f7c86c450d7264b6e6623c1c298657e9cb (diff)
downloadPeerTube-33a53638c2b7a41a4e39558582f604d3036d4fa3.tar.gz
PeerTube-33a53638c2b7a41a4e39558582f604d3036d4fa3.tar.zst
PeerTube-33a53638c2b7a41a4e39558582f604d3036d4fa3.zip
Embed stats only when needed
Diffstat (limited to 'scripts/build/client.sh')
-rwxr-xr-xscripts/build/client.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/build/client.sh b/scripts/build/client.sh
index 5ecbff28d..e891b217c 100755
--- a/scripts/build/client.sh
+++ b/scripts/build/client.sh
@@ -69,6 +69,8 @@ else
69 additionalParams="" 69 additionalParams=""
70 if [ ! -z ${1+x} ] && [ "$1" == "--analyze-bundle" ]; then 70 if [ ! -z ${1+x} ] && [ "$1" == "--analyze-bundle" ]; then
71 additionalParams="--namedChunks=true --outputHashing=none" 71 additionalParams="--namedChunks=true --outputHashing=none"
72
73 # For webpack
72 export ANALYZE_BUNDLE=true 74 export ANALYZE_BUNDLE=true
73 fi 75 fi
74 76