]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/angular.json
Fix empty search
[github/Chocobozzz/PeerTube.git] / client / angular.json
index b77b940b2b84c8bd720a1a695fec7f6dfcc49a53..2511615790f2b3b0d8e63f8f5daa0c1c9812e058 100644 (file)
             "tsConfig": "tsconfig.app.json",
             "polyfills": "src/polyfills.ts",
             "baseHref": "/",
-            "deployUrl": "client/",
+            "deployUrl": "",
             "stylePreprocessorOptions": {
               "includePaths": [
                 "src/sass/include"
               "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",
-              "htmlparser2",
-              "url",
-              "parse-srcset",
-              "postcss"
+              "video.js",
+              "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"