-
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathangular.json
More file actions
executable file
·117 lines (117 loc) · 3.57 KB
/
angular.json
File metadata and controls
executable file
·117 lines (117 loc) · 3.57 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
{
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
"version": 1,
"newProjectRoot": "projects",
"cli": {
"packageManager": "pnpm",
"analytics": false
},
"projects": {
"sampleapp": {
"projectType": "application",
"schematics": {
"@schematics/angular:component": {
"style": "scss"
}
},
"root": "projects/sampleapp",
"sourceRoot": "projects/sampleapp/src",
"prefix": "app",
"architect": {
"build": {
"builder": "@angular/build:application",
"options": {
"outputPath": "dist/sampleapp",
"index": "projects/sampleapp/src/index.html",
"browser": "projects/sampleapp/src/main.ts",
"server": "projects/sampleapp/src/main.server.ts",
"prerender": {
"discoverRoutes": false,
"routesFile": "projects/sampleapp/routes.txt"
},
"polyfills": ["zone.js"],
"tsConfig": "projects/sampleapp/tsconfig.app.json",
"assets": [
"projects/sampleapp/src/favicon.ico",
"projects/sampleapp/src/assets"
],
"styles": [
"projects/sampleapp/src/styles.scss"
],
"scripts": []
},
"configurations": {
"production": {
"fileReplacements": [
{
"replace": "projects/sampleapp/src/environments/environment.ts",
"with": "projects/sampleapp/src/environments/environment.prod.ts"
}
],
"optimization": true,
"outputHashing": "all",
"sourceMap": true,
"namedChunks": true,
"extractLicenses": true,
"budgets": [
{
"type": "initial",
"maximumWarning": "2mb",
"maximumError": "5mb"
},
{
"type": "anyComponentStyle",
"maximumWarning": "6kb",
"maximumError": "10kb"
}
]
},
"stage": {
"optimization": false,
"extractLicenses": false,
"sourceMap": true,
"namedChunks": true,
"fileReplacements": [
{
"replace": "projects/sampleapp/src/environments/environment.ts",
"with": "projects/sampleapp/src/environments/environment.stage.ts"
}
]
},
"e2e": {
"optimization": false,
"extractLicenses": false,
"sourceMap": true,
"namedChunks": true,
"server": false,
"prerender": false,
"fileReplacements": [
{
"replace": "projects/sampleapp/src/environments/environment.ts",
"with": "projects/sampleapp/src/environments/environment.e2e.ts"
}
]
}
}
},
"serve": {
"builder": "@angular/build:dev-server",
"options": {
"buildTarget": "sampleapp:build"
},
"configurations": {
"production": {
"buildTarget": "sampleapp:build:production"
},
"stage": {
"buildTarget": "sampleapp:build:stage"
},
"e2e": {
"buildTarget": "sampleapp:build:e2e"
}
}
}
}
}
}
}