Skip to content

Commit

Permalink
fix: add ESM dts
Browse files Browse the repository at this point in the history
  • Loading branch information
sxzz committed Aug 1, 2023
1 parent ce97189 commit 6b38ae3
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 @@ -8,7 +8,10 @@
"sideEffects": false,
"exports": {
".": {
"types": "./dist/index.d.ts",
"types": {
"require": "./dist/index.d.ts",
"import": "./dist/index.d.mts"
},
"require": "./dist/index.js",
"import": "./dist/index.mjs"
},
Expand Down

0 comments on commit 6b38ae3

Please sign in to comment.