Skip to content

Commit

Permalink
ci: production build config
Browse files Browse the repository at this point in the history
  • Loading branch information
mghilardelli committed Jun 4, 2024
1 parent 1ed75fd commit 7546754
Showing 1 changed file with 6 additions and 17 deletions.
23 changes: 6 additions & 17 deletions webapp/angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,30 +38,19 @@
"configurations": {
"production": {
"outputPath": "dist",
"fileReplacements": [
{
"replace": "src/environments/environment.ts",
"with": "src/environments/environment.ts"
}
],
"optimization": true,
"outputHashing": "all",
"sourceMap": false,
"namedChunks": false,
"extractLicenses": true,
"vendorChunk": false,
"buildOptimizer": true,
"budgets": [
{
"type": "initial",
"maximumWarning": "2mb",
"maximumError": "5mb"
"maximumWarning": "500kb",
"maximumError": "1mb"
},
{
"type": "anyComponentStyle",
"maximumWarning": "6kb"
"maximumWarning": "2kb",
"maximumError": "4kb"
}
]
],
"outputHashing": "all"
},
"development": {
"optimization": false,
Expand Down

0 comments on commit 7546754

Please sign in to comment.