aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/angular.json
diff options
context:
space:
mode:
Diffstat (limited to 'client/angular.json')
-rw-r--r--client/angular.json28
1 files changed, 27 insertions, 1 deletions
diff --git a/client/angular.json b/client/angular.json
index 477cd597f..f7d868e74 100644
--- a/client/angular.json
+++ b/client/angular.json
@@ -4,6 +4,14 @@
4 "newProjectRoot": "projects", 4 "newProjectRoot": "projects",
5 "projects": { 5 "projects": {
6 "PeerTube": { 6 "PeerTube": {
7 "i18n": {
8 "locales": {
9 "fr_FR": {
10 "translation": "src/i18n/messages.fr_FR.xlf",
11 "baseHref": ""
12 }
13 }
14 },
7 "root": "", 15 "root": "",
8 "sourceRoot": "src", 16 "sourceRoot": "src",
9 "projectType": "application", 17 "projectType": "application",
@@ -11,6 +19,7 @@
11 "build": { 19 "build": {
12 "builder": "@angular-devkit/build-angular:browser", 20 "builder": "@angular-devkit/build-angular:browser",
13 "options": { 21 "options": {
22 "aot": true,
14 "deployUrl": "client/", 23 "deployUrl": "client/",
15 "outputPath": "dist", 24 "outputPath": "dist",
16 "index": "src/index.html", 25 "index": "src/index.html",
@@ -64,6 +73,12 @@
64 ] 73 ]
65 }, 74 },
66 "hmr": { 75 "hmr": {
76 "budgets": [
77 {
78 "type": "anyComponentStyle",
79 "maximumWarning": "6kb"
80 }
81 ],
67 "fileReplacements": [ 82 "fileReplacements": [
68 { 83 {
69 "replace": "src/environments/environment.ts", 84 "replace": "src/environments/environment.ts",
@@ -72,6 +87,12 @@
72 ] 87 ]
73 }, 88 },
74 "e2e": { 89 "e2e": {
90 "budgets": [
91 {
92 "type": "anyComponentStyle",
93 "maximumWarning": "6kb"
94 }
95 ],
75 "fileReplacements": [ 96 "fileReplacements": [
76 { 97 {
77 "replace": "src/environments/environment.ts", 98 "replace": "src/environments/environment.ts",
@@ -81,9 +102,14 @@
81 }, 102 },
82 "fr_FR": { 103 "fr_FR": {
83 "aot": true, 104 "aot": true,
105 "budgets": [
106 {
107 "type": "anyComponentStyle",
108 "maximumWarning": "6kb"
109 }
110 ],
84 "outputPath": "dist/PeerTube-fr_FR", 111 "outputPath": "dist/PeerTube-fr_FR",
85 "i18nFile": "src/i18n/messages.fr_FR.xlf", 112 "i18nFile": "src/i18n/messages.fr_FR.xlf",
86 "i18nFormat": "xlf",
87 "i18nLocale": "fr_FR" 113 "i18nLocale": "fr_FR"
88 } 114 }
89 } 115 }