Skip to content

Commit

Permalink
build: fix /register and /native subpath types for Node10 modul…
Browse files Browse the repository at this point in the history
…e resolution (#304)
  • Loading branch information
aryaemami59 authored Sep 26, 2024
1 parent fca09ee commit a842d2d
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,16 @@
"main": "./lib/jiti.cjs",
"module": "./lib/jiti.mjs",
"types": "./lib/jiti.d.cts",
"typesVersions": {
"*": {
"register": [
"./lib/jiti-register.d.mts"
],
"native": [
"./lib/jiti.d.mts"
]
}
},
"bin": {
"jiti": "./lib/jiti-cli.mjs"
},
Expand Down

0 comments on commit a842d2d

Please sign in to comment.