diff options
-rw-r--r-- | client/angular.json | 9 | ||||
-rwxr-xr-x | scripts/build/client.sh | 7 |
2 files changed, 1 insertions, 15 deletions
diff --git a/client/angular.json b/client/angular.json index cf92c7ade..6c0289041 100644 --- a/client/angular.json +++ b/client/angular.json | |||
@@ -208,15 +208,6 @@ | |||
208 | } | 208 | } |
209 | ] | 209 | ] |
210 | }, | 210 | }, |
211 | "i18n": { | ||
212 | "optimization": false, | ||
213 | "outputHashing": "none", | ||
214 | "sourceMap": true, | ||
215 | "namedChunks": true, | ||
216 | "aot": true, | ||
217 | "buildOptimizer": false, | ||
218 | "budgets": [] | ||
219 | }, | ||
220 | "hmr": { | 211 | "hmr": { |
221 | "localize": false, | 212 | "localize": false, |
222 | "budgets": [ | 213 | "budgets": [ |
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 | |||
41 | rm -rf ./dist ./compiled | 41 | rm -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 |
44 | if [ -z ${1+x} ] || ([ "$1" != "--light" ] && [ "$1" != "--analyze-bundle" ] && [ "$1" != "--i18n" ]); then | 44 | if [ -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 |
75 | fi | 70 | fi |
76 | 71 | ||