Skip to content

Commit

Permalink
fix(@schematics/angular): remove TypeScript target from universal sch…
Browse files Browse the repository at this point in the history
…ematic

This is no longer needed due to the recent changes in the CLI which always use ES2022.

(cherry picked from commit 3ea6588)
  • Loading branch information
alan-agius4 authored and dgp1130 committed Oct 26, 2022
1 parent 84f1f63 commit 316a50d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
Expand Up @@ -3,7 +3,6 @@
"extends": "./<%= tsConfigExtends %>",
"compilerOptions": {
"outDir": "<%= relativePathToWorkspaceRoot %>/out-tsc/server",
"target": "es2019",
"types": [
"node"<% if (hasLocalizePackage) { %>,
"@angular/localize"<% } %>
Expand Down
2 changes: 0 additions & 2 deletions packages/schematics/angular/universal/index_spec.ts
Expand Up @@ -94,7 +94,6 @@ describe('Universal Schematic', () => {
extends: './tsconfig.app.json',
compilerOptions: {
outDir: './out-tsc/server',
target: 'es2019',
types: ['node'],
},
files: ['src/main.server.ts'],
Expand All @@ -116,7 +115,6 @@ describe('Universal Schematic', () => {
extends: './tsconfig.app.json',
compilerOptions: {
outDir: '../../out-tsc/server',
target: 'es2019',
types: ['node'],
},
files: ['src/main.server.ts'],
Expand Down

0 comments on commit 316a50d

Please sign in to comment.