]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - scripts/build/client.sh
Translated using Weblate (Japanese)
[github/Chocobozzz/PeerTube.git] / scripts / build / client.sh
index 74fb8ca1b39eb09415aa76cdcb177cf391896e8e..930940b1a717dd6dd916270ef47b97b10be8123e 100755 (executable)
@@ -32,10 +32,12 @@ languages=(
     ["ca"]="ca-ES"
     ["gl"]="gl-ES"
     ["cs"]="cs-CZ"
+    ["hr"]="hr"
     ["eo"]="eo"
     ["de"]="de-DE"
     ["it"]="it-IT"
     ["sq"]="sq"
+    ["tok"]="tok"
     ["nn"]="nn"
     ["nb"]="nb-NO"
     ["kab"]="kab"
@@ -49,7 +51,7 @@ rm -rf ./dist
 if [ -z ${1+x} ] || ([ "$1" != "--light" ] && [ "$1" != "--analyze-bundle" ]); then
     additionalParams=""
     if [ ! -z ${1+x} ] && [ "$1" == "--source-map" ]; then
-        additionalParams="--sourceMap=true"
+        additionalParams="--source-map=true"
     fi
 
     node --max_old_space_size=8192 node_modules/.bin/ng build --configuration production --output-path "dist/build" $additionalParams