Skip to content

Commit

Permalink
perf: migrate to application builder
Browse files Browse the repository at this point in the history
  • Loading branch information
ittipatken committed Jan 29, 2025
1 parent 400086b commit b349f53
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
17 changes: 8 additions & 9 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,12 @@
"prefix": "app",
"architect": {
"build": {
"builder": "@angular-devkit/build-angular:browser",
"builder": "@angular-devkit/build-angular:application",
"options": {
"outputPath": "www",
"outputPath": {
"base": "www"
},
"index": "src/index.html",
"main": "src/main.ts",
"polyfills": [
"zone.js"
],
Expand All @@ -41,7 +42,8 @@
"styles": false,
"hidden": true,
"vendor": true
}
},
"browser": "src/main.ts"
},
"configurations": {
"production": {
Expand All @@ -64,8 +66,7 @@
"maximumError": "4kb"
}
],
"serviceWorker": true,
"ngswConfigPath": "ngsw-config.json"
"serviceWorker": "ngsw-config.json"
},
"ci": {
"budgets": [
Expand All @@ -77,9 +78,7 @@
"progress": false
},
"development": {
"buildOptimizer": false,
"optimization": false,
"vendorChunk": true,
"optimization": false,
"extractLicenses": false,
"sourceMap": true,
"namedChunks": true
Expand Down
1 change: 1 addition & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"compilerOptions": {
"baseUrl": "./",
"outDir": "./dist/out-tsc",
"esModuleInterop": true,
"sourceMap": true,
"declaration": false,
"module": "esnext",
Expand Down

0 comments on commit b349f53

Please sign in to comment.