X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;ds=sidebyside;f=client%2Fangular.json;h=6c02890413b351ee20bfd55e8b5a87ed62ca1017;hb=c1b379877bfdbedc21c4daf4edc5710c032158c7;hp=8045099e71d02976852ffd4efb529becb9a3f5db;hpb=583eb04b541175035d6d452ca626a96ebf2b7437;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/angular.json b/client/angular.json index 8045099e7..6c0289041 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", @@ -141,6 +142,39 @@ "styles": [ "src/sass/application.scss" ], + "allowedCommonJsDependencies": [ + "@angularclass/hmr", + "debug", + "mousetrap", + "chart.js", + "linkifyjs/html", + "linkifyjs", + "markdown-it", + "markdown-it-emoji/light", + "sanitize-html", + "socket.io-client", + "socket.io-parser", + "@app/+about/about-peertube/about-peertube-contributors.component", + "path", + "video.js", + "p2p-media-loader-hlsjs", + "videojs-hotkeys/videojs.hotkeys", + "p2p-media-loader-core", + "qrcode", + "webtorrent", + "cache-chunk-store", + "global/document", + "videojs-vtt.js", + "videojs-vtt.js", + "@babel/runtime/helpers/possibleConstructorReturn", + "@babel/runtime/helpers/inherits", + "@babel/runtime/helpers/construct", + "@videojs/xhr", + "htmlparser2", + "url", + "parse-srcset", + "postcss" + ], "scripts": [] }, "configurations": { @@ -148,7 +182,6 @@ "optimization": true, "outputHashing": "all", "sourceMap": false, - "extractCss": true, "namedChunks": false, "aot": true, "extractLicenses": true, @@ -176,6 +209,7 @@ ] }, "hmr": { + "localize": false, "budgets": [ { "type": "anyComponentStyle", @@ -190,6 +224,7 @@ ] }, "e2e": { + "localize": false, "budgets": [ { "type": "anyComponentStyle", @@ -202,84 +237,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" ] } } },