Skip to content

Commit

Permalink
fix: type exports (#3)
Browse files Browse the repository at this point in the history
  • Loading branch information
kripod committed Jul 3, 2022
1 parent 0ab3a7b commit 54219a7
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,18 @@
"sideEffects": false,
"exports": {
"node": {
"types": "./dist/node.d.mts",
"import": "./dist/node.mjs",
"require": "./dist/node.js"
},
"default": "./dist/default.mjs"
"default": {
"types": "./dist/default.d.mts",
"import": "./dist/default.mjs"
}
},
"main": "./dist/node.js",
"module": "./dist/default.mjs",
"types": "./dist/default.d.ts",
"types": "./dist/default.d.mts",
"files": [
"dist/"
],
Expand Down

0 comments on commit 54219a7

Please sign in to comment.