Skip to content

Commit

Permalink
fix: package.json conditional exports
Browse files Browse the repository at this point in the history
  • Loading branch information
magicdawn committed Sep 6, 2023
1 parent 03f2761 commit 142304d
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,14 @@
"types": "dist/index.d.ts",
"exports": {
".": {
"require": "./dist/index.js",
"import": "./dist/index.mjs",
"types": "./dist/index.d.ts"
"types": {
"import": "./dist/index.d.mts",
"default": "./dist/index.d.ts"
},
"default": {
"import": "./dist/index.mjs",
"default": "./dist/index.js"
}
}
},
"files": [
Expand Down

0 comments on commit 142304d

Please sign in to comment.