Skip to content

Commit

Permalink
docs: switch to esbuild and sync project.json with latest one
Browse files Browse the repository at this point in the history
  • Loading branch information
rainerhahnekamp committed Aug 14, 2024
1 parent b741c7d commit d9321c3
Showing 1 changed file with 11 additions and 8 deletions.
19 changes: 11 additions & 8 deletions projects/example-app/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@
"generators": {},
"targets": {
"build": {
"executor": "@angular-devkit/build-angular:browser",
"executor": "@angular-devkit/build-angular:application",
"options": {
"outputPath": "dist/projects/example-app",
"index": "projects/example-app/src/index.html",
"main": "projects/example-app/src/main.ts",
"polyfills": "projects/example-app/src/polyfills.ts",
"browser": "projects/example-app/src/main.ts",
"polyfills": ["zone.js"],
"tsConfig": "projects/example-app/tsconfig.app.json",
"assets": [
"projects/example-app/src/favicon.ico",
Expand All @@ -24,20 +24,23 @@
"configurations": {
"production": {
"budgets": [
{
"type": "initial",
"maximumWarning": "500kb",
"maximumError": "1mb"
},
{
"type": "anyComponentStyle",
"maximumWarning": "6kb"
"maximumWarning": "2kb",
"maximumError": "4kb"
}
],
"outputHashing": "all"
},
"development": {
"buildOptimizer": false,
"optimization": false,
"vendorChunk": true,
"extractLicenses": false,
"sourceMap": true,
"namedChunks": true
"sourceMap": true
}
},
"defaultConfiguration": "production",
Expand Down

0 comments on commit d9321c3

Please sign in to comment.