Skip to content

Commit 009b3e1

Browse files
committed
chore: Build fix try 5 - angular.json update for build error fix
1 parent 42d87fd commit 009b3e1

1 file changed

Lines changed: 1 addition & 31 deletions

File tree

angular.json

Lines changed: 1 addition & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -30,43 +30,13 @@
3030
},
3131
"configurations": {
3232
"production": {
33-
"fileReplacements": [
34-
{
35-
"replace": "src/environments/environment.ts",
36-
"with": "src/environments/environment.prod.ts"
37-
}
38-
],
3933
"optimization": true,
4034
"outputHashing": "all",
4135
"sourceMap": false,
42-
"extractCss": true,
4336
"namedChunks": false,
4437
"extractLicenses": true,
4538
"vendorChunk": false,
46-
"buildOptimizer": true,
47-
"budgets": [
48-
{
49-
"type": "initial",
50-
"maximumWarning": "2mb",
51-
"maximumError": "5mb"
52-
}
53-
]
54-
},
55-
"development": {
56-
"fileReplacements": [
57-
{
58-
"replace": "src/environments/environment.ts",
59-
"with": "src/environments/environment.dev.ts"
60-
}
61-
],
62-
"optimization": false,
63-
"outputHashing": "none",
64-
"sourceMap": true,
65-
"extractCss": false,
66-
"namedChunks": true,
67-
"extractLicenses": false,
68-
"vendorChunk": true,
69-
"buildOptimizer": false
39+
"buildOptimizer": true
7040
}
7141
}
7242
},

0 commit comments

Comments
 (0)