Skip to content

Commit

Permalink
fix(@schematics/angular): remove target and lib options for libra…
Browse files Browse the repository at this point in the history
…ry tsconfig

The `target` option is set directly in ng-packagr binary and cannot be overridden, while the `lib` option is inherited from the root level tsconfig.

(cherry picked from commit 81531d1)
  • Loading branch information
alan-agius4 committed Oct 8, 2021
1 parent f14ab6a commit 0ec0ad8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 12 deletions.
Original file line number Diff line number Diff line change
@@ -1,15 +1,10 @@
{
"extends": "../../tsconfig.json",
"compilerOptions": {
"target": "es2015",
"declaration": true,
"declarationMap": true,
"inlineSources": true,
"types": [],
"lib": [
"dom",
"es2018"
]
"types": []
},
"exclude": [
"src/test.ts",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,10 @@
"extends": "<%= relativePathToWorkspaceRoot %>/tsconfig.json",
"compilerOptions": {
"outDir": "<%= relativePathToWorkspaceRoot %>/out-tsc/lib",
"target": "es2015",
"declaration": true,
"declarationMap": true,
"inlineSources": true,
"types": [],
"lib": [
"dom",
"es2018"
]
"types": []
},
"exclude": [
"src/test.ts",
Expand Down

0 comments on commit 0ec0ad8

Please sign in to comment.