Skip to content

Commit a139243

Browse files
Alan AgiusKeen Yee Liau
Alan Agius
authored and
Keen Yee Liau
committed
refactor: clean up library tsconfig
These properties are already defined in the root tsconfig
1 parent a5c1faa commit a139243

File tree

2 files changed

+2
-13
lines changed

2 files changed

+2
-13
lines changed

packages/schematics/angular/library/files/tsconfig.lib.json.template

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,8 @@
33
"compilerOptions": {
44
"outDir": "<%= relativePathToWorkspaceRoot %>/out-tsc/lib",
55
"target": "es2015",
6-
"module": "es2015",
7-
"moduleResolution": "node",
86
"declaration": true,
9-
"sourceMap": true,
107
"inlineSources": true,
11-
"emitDecoratorMetadata": true,
12-
"experimentalDecorators": true,
13-
"importHelpers": true,
148
"types": [],
159
"lib": [
1610
"dom",

tests/angular_devkit/build_ng_packagr/ng-packaged/projects/lib/tsconfig.lib.json

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,12 @@
22
"extends": "../../tsconfig.json",
33
"compilerOptions": {
44
"target": "es2015",
5-
"module": "es2015",
6-
"moduleResolution": "node",
75
"declaration": true,
8-
"sourceMap": true,
96
"inlineSources": true,
10-
"emitDecoratorMetadata": true,
11-
"experimentalDecorators": true,
12-
"importHelpers": true,
7+
"types": [],
138
"lib": [
149
"dom",
15-
"es2016"
10+
"es2018"
1611
]
1712
},
1813
"angularCompilerOptions": {

0 commit comments

Comments
 (0)