Skip to content

Commit

Permalink
refactor(example): Update angular config
Browse files Browse the repository at this point in the history
  • Loading branch information
juancgalvis committed Feb 5, 2025
1 parent 3114ae3 commit 2f493a3
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 3 deletions.
2 changes: 1 addition & 1 deletion examples/front-async-angular/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,4 @@ testem.log
# System files
.DS_Store
Thumbs.db
environment.local.ts
environment.poc.ts
32 changes: 31 additions & 1 deletion examples/front-async-angular/angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,33 @@
},
"configurations": {
"production": {
"fileReplacements": [
{
"replace": "src/app/environments/environment.ts",
"with": "src/app/environments/environment.prod.ts"
}
],
"budgets": [
{
"type": "initial",
"maximumWarning": "500kb",
"maximumError": "1mb"
},
{
"type": "anyComponentStyle",
"maximumWarning": "2kb",
"maximumError": "4kb"
}
],
"outputHashing": "all"
},
"poc": {
"fileReplacements": [
{
"replace": "src/app/environments/environment.ts",
"with": "src/app/environments/environment.poc.ts"
}
],
"budgets": [
{
"type": "initial",
Expand Down Expand Up @@ -62,6 +89,9 @@
},
"development": {
"buildTarget": "front-async:build:development"
},
"poc": {
"buildTarget": "front-async:build:poc"
}
},
"defaultConfiguration": "development"
Expand Down Expand Up @@ -93,4 +123,4 @@
}
}
}
}
}
2 changes: 1 addition & 1 deletion examples/front-async-angular/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 2f493a3

Please sign in to comment.