X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fangular.json;h=c893cc1e9d3829941e2a7ee4993241182194ce8c;hb=aa9cf3b98d5db85fefce918bb29840d0cdcb84c4;hp=e07cf6707d58dc71e5815360d94c68fb6a029df0;hpb=d88c9eb9db19965d0075d5835b8837649b2728fd;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/angular.json b/client/angular.json index e07cf6707..c893cc1e9 100644 --- a/client/angular.json +++ b/client/angular.json @@ -124,6 +124,7 @@ "builder": "@angular-devkit/build-angular:browser", "options": { "aot": true, + "localize": true, "outputPath": "dist", "index": "src/index.html", "main": "src/main.ts", @@ -203,7 +204,18 @@ } ] }, + "i18n": { + "optimization": false, + "outputHashing": "none", + "sourceMap": true, + "extractCss": true, + "namedChunks": true, + "aot": true, + "buildOptimizer": false, + "budgets": [] + }, "hmr": { + "localize": false, "budgets": [ { "type": "anyComponentStyle", @@ -218,6 +230,7 @@ ] }, "e2e": { + "localize": false, "budgets": [ { "type": "anyComponentStyle", @@ -230,84 +243,6 @@ "with": "src/environments/environment.e2e.ts" } ] - }, - "ar": { - "localize": [ "ar" ] - }, - "hu-HU": { - "localize": [ "hu" ] - }, - "th-TH": { - "localize": [ "th" ] - }, - "fi-FI": { - "localize": [ "fi" ] - }, - "nl-NL": { - "localize": [ "nl" ] - }, - "gd": { - "localize": [ "gd" ] - }, - "el-GR": { - "localize": [ "el" ] - }, - "es-ES": { - "localize": [ "es" ] - }, - "oc": { - "localize": [ "oc" ] - }, - "pt-BR": { - "localize": [ "pt" ] - }, - "pt-PT": { - "localize": [ "pt-PT" ] - }, - "sv-SE": { - "localize": [ "sv" ] - }, - "pl-PL": { - "localize": [ "pl" ] - }, - "ru-RU": { - "localize": [ "ru" ] - }, - "zh-Hans-CN": { - "localize": [ "zh-Hans" ] - }, - "zh-Hant-TW": { - "localize": [ "zh-Hant" ] - }, - "fr-FR": { - "localize": [ "fr" ] - }, - "ja-JP": { - "localize": [ "ja" ] - }, - "eu-ES": { - "localize": [ "eu" ] - }, - "ca-ES": { - "localize": [ "ca" ] - }, - "cs-CZ": { - "localize": [ "cs" ] - }, - "eo": { - "localize": [ "eo" ] - }, - "de-DE": { - "localize": [ "de" ] - }, - "it-IT": { - "localize": [ "it" ] - }, - "vi-VN": { - "localize": [ "vi" ] - }, - "kab": { - "localize": [ "kab" ] } } },