Skip to content

Commit

Permalink
move to node16 TS module resolution from legacy node
Browse files Browse the repository at this point in the history
  • Loading branch information
rhysd committed Jan 4, 2024
1 parent f2906f6 commit 15d6af3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"engines": {
"node": ">=16.0.0"
},
"type": "commonjs",
"main": "src/index.js",
"scripts": {
"build": "tsc -p .",
Expand Down
4 changes: 2 additions & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"compilerOptions": {
"module": "commonjs",
"moduleResolution": "node",
"module": "node16",
"moduleResolution": "node16",
"lib": [
"esnext"
],
Expand Down

0 comments on commit 15d6af3

Please sign in to comment.