Skip to content

Commit

Permalink
build: fix type exports
Browse files Browse the repository at this point in the history
  • Loading branch information
pi0 committed Jul 18, 2024
1 parent f0856f8 commit f8c35c3
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,19 @@
"type": "module",
"exports": {
".": {
"types": "./dist/index.d.ts",
"require": "./dist/index.cjs",
"import": "./dist/index.mjs"
"import": {
"types": "./dist/index.d.mts",
"default": "./dist/index.mjs"
},
"require": {
"types": "./dist/index.d.cts",
"default": "./dist/index.cjs"
}
}
},
"main": "./dist/index.cjs",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"types": "./dist/index.d.cts",
"files": [
"dist"
],
Expand Down

0 comments on commit f8c35c3

Please sign in to comment.