Skip to content

Commit

Permalink
fix: configure types in exports
Browse files Browse the repository at this point in the history
  • Loading branch information
christophehurpeau committed Jul 29, 2023
1 parent 4c1151f commit d82bf86
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,10 @@
"main": "./lib/index.js",
"types": "./lib/index.d.ts",
"exports": {
".": "./lib/index.js",
".": {
"types": "./lib/index.d.ts",
"default": "./lib/index.js"
},
"./package.json": "./package.json"
},
"sideEffects": false,
Expand Down

0 comments on commit d82bf86

Please sign in to comment.