aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts/build
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/build')
-rwxr-xr-xscripts/build/client.sh7
1 files changed, 1 insertions, 6 deletions
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
41rm -rf ./dist ./compiled 41rm -rf ./dist ./compiled
42 42
43# Don't build other languages if --light arg is provided 43# Don't build other languages if --light arg is provided
44if [ -z ${1+x} ] || ([ "$1" != "--light" ] && [ "$1" != "--analyze-bundle" ] && [ "$1" != "--i18n" ]); then 44if [ -z ${1+x} ] || ([ "$1" != "--light" ] && [ "$1" != "--analyze-bundle" ]); then
45 npm run ng build -- --prod --output-path "dist/build" 45 npm run ng build -- --prod --output-path "dist/build"
46 46
47 for key in "${!languages[@]}"; do 47 for key in "${!languages[@]}"; do
@@ -66,11 +66,6 @@ else
66 export ANALYZE_BUNDLE=true 66 export ANALYZE_BUNDLE=true
67 fi 67 fi
68 68
69 if [ ! -z ${1+x} ] && [ "$1" == "--i18n" ]; then
70 additionalParams="--configuration=i18n"
71 export ANALYZE_BUNDLE=true
72 fi
73
74 npm run ng build -- --localize=false --output-path "dist/$defaultLanguage/" --deploy-url "/client/$defaultLanguage/" --prod --stats-json $additionalParams 69 npm run ng build -- --localize=false --output-path "dist/$defaultLanguage/" --deploy-url "/client/$defaultLanguage/" --prod --stats-json $additionalParams
75fi 70fi
76 71