Skip to content

Commit

Permalink
feat: add esm tsconfigs
Browse files Browse the repository at this point in the history
  • Loading branch information
mdonnalley committed Oct 24, 2023
1 parent 09e0a8e commit 3a37f0c
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 0 deletions.
15 changes: 15 additions & 0 deletions tsconfig-esm.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"compilerOptions": {
"module": "Node16",
"target": "ES2022",
"lib": ["ES2022"],
"sourceMap": true,
"declaration": true,
"moduleResolution": "Node16",
"alwaysStrict": true,
"noUnusedLocals": true
},
"ts-node": {
"esm": true
}
}
6 changes: 6 additions & 0 deletions tsconfig-strict-esm.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"extends": "./tsconfig-esm",
"compilerOptions": {
"strict": true
}
}
6 changes: 6 additions & 0 deletions tsconfig-test-esm.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"extends": "./tsconfig-esm",
"compilerOptions": {
"noEmit": true
}
}
6 changes: 6 additions & 0 deletions tsconfig-test-strict-esm.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"extends": "./tsconfig-strict-esm",
"compilerOptions": {
"noEmit": true
}
}

0 comments on commit 3a37f0c

Please sign in to comment.