]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/angular.json
Add support for saving video files to object storage (#4290)
[github/Chocobozzz/PeerTube.git] / client / angular.json
index c9d90d5ec6124a6f854d9bdb66cf586822c6f0cd..2511615790f2b3b0d8e63f8f5daa0c1c9812e058 100644 (file)
             "tsConfig": "tsconfig.app.json",
             "polyfills": "src/polyfills.ts",
             "baseHref": "/",
-            "deployUrl": "client/",
+            "deployUrl": "",
             "stylePreprocessorOptions": {
               "includePaths": [
                 "src/sass/include"
               "debug",
               "p2p-media-loader-hlsjs",
               "video.js",
-              "sha1",
-              "postcss"
+              "sha.js/sha1",
+              "postcss",
+              "core-js/features/reflect"
             ],
             "scripts": [],
             "vendorChunk": true,
                 }
               ]
             },
+            "ar-locale": {
+              "localize": ["ar"],
+              "budgets": [
+                {
+                  "type": "anyComponentStyle",
+                  "maximumWarning": "6kb"
+                }
+              ],
+              "fileReplacements": [
+                {
+                  "replace": "src/environments/environment.ts",
+                  "with": "src/environments/environment.hmr.ts"
+                }
+              ]
+            },
             "hmr": {
               "localize": false,
               "budgets": [
             "hmr": {
               "browserTarget": "PeerTube:build:hmr"
             },
+            "ar-locale": {
+              "browserTarget": "PeerTube:build:ar-locale"
+            },
             "e2e": {
               "browserTarget": "PeerTube:build:e2e",
               "proxyConfig": "e2e/proxy.config.json"