Skip to content

Commit

Permalink
fix: esm types
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanleecode committed Oct 22, 2024
1 parent 43a5552 commit 39304ac
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,23 @@
"module": "./lib/esm.mjs",
"browser": "./lib/web.js",
"types": "./lib/types.d.ts",
"exports": {
"./package.json": "./package.json",
".": {
"import": {
"types": "./lib/esm.d.ts",
"default": "./lib/esm.mjs"
},
"require": {
"types": "./lib/commonjs.d.ts",
"default": "./lib/commonjs.cjs"
},
"browser": {
"types": "./lib/web.d.ts",
"default": "./lib/web.js"
}
}
},
"publishConfig": {
"provenance": true
},
Expand Down

0 comments on commit 39304ac

Please sign in to comment.