Skip to content

Commit

Permalink
chore(angular): optimize ng s in dev mode (#640)
Browse files Browse the repository at this point in the history
  • Loading branch information
kilchenmann committed Jan 18, 2022
1 parent f19434e commit 9812b9c
Showing 1 changed file with 16 additions and 12 deletions.
28 changes: 16 additions & 12 deletions angular.json
Expand Up @@ -18,6 +18,7 @@
},
"architect": {
"build": {
"defaultConfiguration": "development",
"builder": "@angular-devkit/build-angular:browser",
"options": {
"aot": true,
Expand Down Expand Up @@ -53,6 +54,16 @@
]
},
"configurations": {
"development": {
"optimization": false,
"sourceMap": false,
"namedChunks": true,
"aot": true,
"extractLicenses": false,
"vendorChunk": true,
"buildOptimizer": false,
"budgets": []
},
"production": {
"fileReplacements": [
{
Expand Down Expand Up @@ -89,22 +100,12 @@
],
"optimization": false,
"sourceMap": true,
"namedChunks": false,
"namedChunks": true,
"aot": true,
"extractLicenses": false,
"vendorChunk": false,
"buildOptimizer": false,
"budgets": [
{
"type": "initial",
"maximumWarning": "8mb",
"maximumError": "8mb"
},
{
"type": "anyComponentStyle",
"maximumWarning": "6kb"
}
]
"budgets": []
}
}
},
Expand All @@ -114,6 +115,9 @@
"browserTarget": "dsp-app:build"
},
"configurations": {
"development": {
"browserTarget": "dsp-app:build:development"
},
"production": {
"browserTarget": "dsp-app:build:production"
},
Expand Down

0 comments on commit 9812b9c

Please sign in to comment.