Skip to content

Commit ff8ccd7

Browse files
committed
feat: ng update @angular/cli
1 parent 23bb33c commit ff8ccd7

File tree

12 files changed

+2459
-808
lines changed

12 files changed

+2459
-808
lines changed

angular.json

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
"build": {
1212
"builder": "@angular-devkit/build-angular:browser",
1313
"options": {
14+
"aot": true,
1415
"outputPath": "dist",
1516
"index": "src/index.html",
1617
"main": "src/main.browser.ts",
@@ -28,6 +29,12 @@
2829
},
2930
"configurations": {
3031
"dev": {
32+
"budgets": [
33+
{
34+
"type": "anyComponentStyle",
35+
"maximumWarning": "6kb"
36+
}
37+
],
3138
"fileReplacements": [
3239
{
3340
"replace": "src/environments/environment.ts",
@@ -36,6 +43,12 @@
3643
]
3744
},
3845
"production": {
46+
"budgets": [
47+
{
48+
"type": "anyComponentStyle",
49+
"maximumWarning": "6kb"
50+
}
51+
],
3952
"optimization": true,
4053
"outputHashing": "all",
4154
"sourceMap": false,
@@ -120,7 +133,8 @@
120133
"with": "src/environments/server/environment.ts"
121134
}
122135
]
123-
},
136+
, "optimization": true
137+
},
124138
"production": {
125139
"optimization": true,
126140
"outputHashing": "all",

0 commit comments

Comments
 (0)