From ae48a71d57516b7ae2c4f3f63d237a4c972f0ded Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 26 Nov 2020 08:52:43 +0100 Subject: Remove unused i18n build --- scripts/build/client.sh | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'scripts/build') diff --git a/scripts/build/client.sh b/scripts/build/client.sh index 9cd8d8cce..3bca9105a 100755 --- a/scripts/build/client.sh +++ b/scripts/build/client.sh @@ -41,7 +41,7 @@ cd client rm -rf ./dist ./compiled # Don't build other languages if --light arg is provided -if [ -z ${1+x} ] || ([ "$1" != "--light" ] && [ "$1" != "--analyze-bundle" ] && [ "$1" != "--i18n" ]); then +if [ -z ${1+x} ] || ([ "$1" != "--light" ] && [ "$1" != "--analyze-bundle" ]); then npm run ng build -- --prod --output-path "dist/build" for key in "${!languages[@]}"; do @@ -66,11 +66,6 @@ else export ANALYZE_BUNDLE=true fi - if [ ! -z ${1+x} ] && [ "$1" == "--i18n" ]; then - additionalParams="--configuration=i18n" - export ANALYZE_BUNDLE=true - fi - npm run ng build -- --localize=false --output-path "dist/$defaultLanguage/" --deploy-url "/client/$defaultLanguage/" --prod --stats-json $additionalParams fi -- cgit v1.2.3