Skip to content

Commit e8be320

Browse files
authored
refactor: Extend the base tsconfig.json for tsconfig.esm.json instead of duplicating (#438)
__DESCRIPTION:__ I noticed that both the `tsconfig.json` and the `tsconfig.esm.json` files are largely the same. So it makes sense to me to extend the base on instead of duplicating the configuration options.
1 parent 8d985a1 commit e8be320

File tree

1 file changed

+3
-11
lines changed

1 file changed

+3
-11
lines changed

src/tsconfig.esm.json

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,7 @@
11
{
2+
"extends": "./tsconfig.json",
23
"compilerOptions": {
3-
"target": "es2020",
44
"module": "es6",
5-
"moduleResolution": "node",
6-
"sourceMap": true,
7-
"declaration": true,
8-
"strict": true,
9-
"stripInternal": true,
10-
"outDir": "../lib/esm",
11-
"lib": [
12-
"es2020"
13-
]
5+
"outDir": "../lib/esm"
146
}
15-
}
7+
}

0 commit comments

Comments
 (0)