Skip to content

Commit

Permalink
chore: update angular starter config to v17
Browse files Browse the repository at this point in the history
  • Loading branch information
luisbytes committed Nov 14, 2023
1 parent 2e6114a commit c79ae80
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 74 deletions.
10 changes: 5 additions & 5 deletions angular-standalone/base/angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,14 @@
"prefix": "app",
"architect": {
"build": {
"builder": "@angular-devkit/build-angular:browser",
"builder": "@angular-devkit/build-angular:application",
"options": {
"outputPath": "www",
"index": "src/index.html",
"main": "src/main.ts",
"polyfills": "src/polyfills.ts",
"browser": "src/main.ts",
"polyfills": [
"zone.js"
],
"tsConfig": "tsconfig.app.json",
"inlineStyleLanguage": "scss",
"assets": [
Expand Down Expand Up @@ -57,9 +59,7 @@
"outputHashing": "all"
},
"development": {
"buildOptimizer": false,
"optimization": false,
"vendorChunk": true,
"extractLicenses": false,
"sourceMap": true,
"namedChunks": true
Expand Down
55 changes: 0 additions & 55 deletions angular-standalone/base/src/polyfills.ts

This file was deleted.

6 changes: 0 additions & 6 deletions angular-standalone/base/src/zone-flags.ts

This file was deleted.

3 changes: 1 addition & 2 deletions angular-standalone/base/tsconfig.app.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@
"types": []
},
"files": [
"src/main.ts",
"src/polyfills.ts"
"src/main.ts"
],
"include": [
"src/**/*.d.ts"
Expand Down
7 changes: 4 additions & 3 deletions angular-standalone/base/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,16 @@
"noPropertyAccessFromIndexSignature": true,
"noImplicitReturns": true,
"noFallthroughCasesInSwitch": true,
"esModuleInterop": true,
"sourceMap": true,
"declaration": false,
"downlevelIteration": true,
"experimentalDecorators": true,
"moduleResolution": "node",
"importHelpers": true,
"target": "es2022",
"module": "es2020",
"lib": ["es2018", "dom"],
"target": "ES2022",
"module": "ES2022",
"lib": ["ES2022", "dom"],
"useDefineForClassFields": false
},
"angularCompilerOptions": {
Expand Down
7 changes: 4 additions & 3 deletions angular/base/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,17 @@
"noPropertyAccessFromIndexSignature": true,
"noImplicitReturns": true,
"noFallthroughCasesInSwitch": true,
"esModuleInterop": true,
"sourceMap": true,
"declaration": false,
"downlevelIteration": true,
"experimentalDecorators": true,
"moduleResolution": "node",
"importHelpers": true,
"target": "es2022",
"module": "es2020",
"target": "ES2022",
"module": "ES2022",
"lib": [
"es2018",
"ES2022",
"dom"
],
"useDefineForClassFields": false
Expand Down

0 comments on commit c79ae80

Please sign in to comment.