-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathangular.json
More file actions
120 lines (120 loc) · 3.72 KB
/
Copy pathangular.json
File metadata and controls
120 lines (120 loc) · 3.72 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
{
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
"version": 1,
"cli": {
"packageManager": "npm"
},
"newProjectRoot": "projects",
"projects": {
"website": {
"projectType": "application",
"schematics": {},
"root": "projects/website",
"sourceRoot": "projects/website/src",
"prefix": "bfs",
"i18n": {
"sourceLocale": {
"code": "de",
"subPath": ""
},
"locales": {
"en": {
"translation": "projects/website/src/locale/messages.en.xlf",
"subPath": "en"
}
}
},
"architect": {
"build": {
"builder": "@angular/build:application",
"options": {
"browser": "projects/website/src/main.ts",
"tsConfig": "projects/website/tsconfig.app.json",
"polyfills": ["@angular/localize/init"],
"assets": [
{
"glob": "**/*",
"input": "projects/website/public"
}
],
"styles": [
"node_modules/@angular/cdk/overlay-prebuilt.css",
"projects/website/src/styles.css"
],
// The builder derives `prerender` from `!!server`. Dropping this option still exits 0
// but ships an empty client-side shell with nothing prerendered.
"server": "projects/website/src/main.server.ts",
"outputMode": "static",
"localize": true,
"i18nMissingTranslation": "error",
"i18nDuplicateTranslation": "error",
"security": {
"allowedHosts": []
}
},
"configurations": {
"production": {
"budgets": [
{
"type": "initial",
"maximumWarning": "450kB",
"maximumError": "500kB"
},
{
"type": "anyComponentStyle",
"maximumWarning": "4kB",
"maximumError": "8kB"
}
],
"outputHashing": "all"
},
"development": {
"optimization": false,
"extractLicenses": false,
"sourceMap": true,
"localize": ["de"]
},
"en": {
"localize": ["en"]
}
},
"defaultConfiguration": "production"
},
"serve": {
"builder": "@angular/build:dev-server",
"configurations": {
"production": {
"buildTarget": "website:build:production"
},
"development": {
"buildTarget": "website:build:development"
},
"en": {
"buildTarget": "website:build:development,en"
}
},
"defaultConfiguration": "development"
},
"extract-i18n": {
"builder": "ng-extract-i18n-merge:ng-extract-i18n-merge",
"options": {
"buildTarget": "website:build:development",
"format": "xlf2",
"outputPath": "projects/website/src/locale",
"sourceFile": "messages.xlf",
"targetFiles": ["messages.en.xlf"],
// The default copies the German source into a new target, which would ship German
// into /en/ with a green build. "omit" leaves the target absent instead, so
// `i18nMissingTranslation: "error"` catches it.
"newTranslationTargetsBlank": "omit",
"sort": "stableAppendNew",
"includeContext": false
}
},
"test": {
"builder": "@angular/build:unit-test"
}
}
}
}
}