]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - scripts/build/client.sh
Fix ng build options
[github/Chocobozzz/PeerTube.git] / scripts / build / client.sh
index f4f9b135222aad0addd1d1e29ee824530028593d..74fb8ca1b39eb09415aa76cdcb177cf391896e8e 100755 (executable)
@@ -71,14 +71,14 @@ if [ -z ${1+x} ] || ([ "$1" != "--light" ] && [ "$1" != "--analyze-bundle" ]); t
 else
     additionalParams=""
     if [ ! -z ${1+x} ] && [ "$1" == "--analyze-bundle" ]; then
-        additionalParams="--namedChunks=true --outputHashing=none"
+        additionalParams="--named-chunks=true --output-hashing=none"
 
         # For webpack
         export ANALYZE_BUNDLE=true
     fi
 
     node --max_old_space_size=8192 node_modules/.bin/ng build --localize=false --output-path "dist/$defaultLanguage/" \
-                        --deploy-url "/client/$defaultLanguage/" --configuration production --stats-json $additionalParams
+                                                              --configuration production --stats-json $additionalParams
 fi
 
 cp "./dist/$defaultLanguage/manifest.webmanifest" "./dist/manifest.webmanifest"