X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fangular.json;h=e9d62cacbd763e9b34d3e02cab2e6766ae13bb14;hb=42c84e415da4a41c16cc5d39ed1c101dd8bbffad;hp=c893cc1e9d3829941e2a7ee4993241182194ce8c;hpb=66357162f8e1227495f09bd4f68446aad7071c6d;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/angular.json b/client/angular.json index c893cc1e9..e9d62cacb 100644 --- a/client/angular.json +++ b/client/angular.json @@ -69,6 +69,10 @@ "translation": "src/locale/angular.ru-RU.xlf", "baseHref": "/client/ru-RU/" }, + "sq": { + "translation": "src/locale/angular.sq.xlf", + "baseHref": "/client/sq/" + }, "zh-Hans": { "translation": "src/locale/angular.zh-Hans-CN.xlf", "baseHref": "/client/zh-Hans-CN/" @@ -93,6 +97,10 @@ "translation": "src/locale/angular.ca-ES.xlf", "baseHref": "/client/ca-ES/" }, + "gl": { + "translation": "src/locale/angular.gl-ES.xlf", + "baseHref": "/client/gl-ES/" + }, "cs": { "translation": "src/locale/angular.cs-CZ.xlf", "baseHref": "/client/cs-CZ/" @@ -123,13 +131,14 @@ "build": { "builder": "@angular-devkit/build-angular:browser", "options": { - "aot": true, "localize": true, "outputPath": "dist", "index": "src/index.html", "main": "src/main.ts", "tsConfig": "tsconfig.app.json", "polyfills": "src/polyfills.ts", + "baseHref": "/", + "deployUrl": "client/", "stylePreprocessorOptions": { "includePaths": [ "src/sass/include" @@ -143,43 +152,30 @@ "src/sass/application.scss" ], "allowedCommonJsDependencies": [ - "@angularclass/hmr", - "debug", - "mousetrap", + "qrcode", "chart.js", - "linkifyjs/html", - "linkifyjs", - "markdown-it", + "htmlparser2", + "markdown-it-emoji/light", "sanitize-html", - "socket.io-client", - "socket.io-parser", - "@app/+about/about-peertube/about-peertube-contributors.component", - "path", - "video.js", + "debug", "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" + "video.js", + "postcss" ], - "scripts": [] + "scripts": [], + "vendorChunk": true, + "extractLicenses": false, + "buildOptimizer": false, + "sourceMap": true, + "optimization": false, + "namedChunks": true }, "configurations": { "production": { "optimization": true, "outputHashing": "all", "sourceMap": false, - "extractCss": true, "namedChunks": false, - "aot": true, "extractLicenses": true, "vendorChunk": false, "buildOptimizer": true, @@ -194,7 +190,7 @@ { "type": "anyComponentStyle", "maximumWarning": "6kb", - "maximumError": "50kb" + "maximumError": "100kb" } ], "fileReplacements": [ @@ -204,16 +200,6 @@ } ] }, - "i18n": { - "optimization": false, - "outputHashing": "none", - "sourceMap": true, - "extractCss": true, - "namedChunks": true, - "aot": true, - "buildOptimizer": false, - "budgets": [] - }, "hmr": { "localize": false, "budgets": [ @@ -249,8 +235,6 @@ "serve": { "builder": "@angular-devkit/build-angular:dev-server", "options": { - "baseHref": "/", - "deployUrl": "client/", "browserTarget": "PeerTube:build", "proxyConfig": "proxy.config.json" }, @@ -313,6 +297,7 @@ "languages": [ "ar", "ca-ES", + "gl-ES", "cs-CZ", "da-DK", "de-DE",