Skip to content

Commit

Permalink
feat: Update to angular v17 (#345)
Browse files Browse the repository at this point in the history
1. Update to angular v17
2. Update to angular application builder
  • Loading branch information
sheikalthaf committed Nov 26, 2023
1 parent 9ce4a9a commit f0a1cd7
Show file tree
Hide file tree
Showing 3 changed files with 3,441 additions and 2,645 deletions.
32 changes: 17 additions & 15 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,13 @@
"prefix": "app",
"architect": {
"build": {
"builder": "@angular-devkit/build-angular:browser",
"builder": "@angular-devkit/build-angular:application",
"options": {
"outputPath": "dist/app",
"index": "projects/app/src/index.html",
"main": "projects/app/src/main.ts",
"polyfills": "projects/app/src/polyfills.ts",
"browser": "projects/app/src/main.ts",
"polyfills": ["projects/app/src/polyfills.ts"],
"tsConfig": "projects/app/tsconfig.json",
"aot": true,
"assets": [
"projects/app/src/favicon.ico",
"projects/app/src/assets"
Expand All @@ -39,13 +38,6 @@
"with": "projects/app/src/environments/environment.prod.ts"
}
],
"optimization": true,
"outputHashing": "none",
"sourceMap": false,
"namedChunks": false,
"extractLicenses": true,
"vendorChunk": false,
"buildOptimizer": true,
"budgets": [
{
"type": "initial",
Expand All @@ -58,24 +50,34 @@
"maximumError": "50kb"
}
]
},
"development": {
"optimization": false,
"extractLicenses": false,
"sourceMap": true,
"namedChunks": true
}
}
},
"serve": {
"builder": "@angular-devkit/build-angular:dev-server",
"options": {
"browserTarget": "app:build"
"buildTarget": "app:build"
},
"configurations": {
"production": {
"browserTarget": "app:build:production"
"buildTarget": "app:build:production"
},
"development": {
"buildTarget": "app:build:development"
}
}
},
"defaultConfiguration": "development"
},
"extract-i18n": {
"builder": "@angular-devkit/build-angular:extract-i18n",
"options": {
"browserTarget": "app:build"
"buildTarget": "app:build"
}
},
"lint": {
Expand Down
Loading

0 comments on commit f0a1cd7

Please sign in to comment.