ActivityPub-federated video streaming platform using P2P directly in your web browser
Remove unused i18n build
Chocobozzzae48a71d5751
diff --git a/client/angular.json b/client/angular.jsonindex cf92c7ade2..6c02890413 100644--- a/client/angular.json+++ b/client/angular.json@@ -208,15 +208,6 @@}]},- "i18n": {- "optimization": false,- "outputHashing": "none",- "sourceMap": true,- "namedChunks": true,- "aot": true,- "buildOptimizer": false,- "budgets": []- },"hmr": {"localize": false,"budgets": [diff --git a/scripts/build/client.sh b/scripts/build/client.shindex 9cd8d8cce9..3bca9105a4 100755--- a/scripts/build/client.sh+++ b/scripts/build/client.sh@@ -41,7 +41,7 @@ cd clientrm -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" ]); thennpm run ng build -- --prod --output-path "dist/build"for key in "${!languages[@]}"; do@@ -66,11 +66,6 @@ elseexport ANALYZE_BUNDLE=truefi- 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 $additionalParamsfi