Skip to content

Commit

Permalink
fix: make types first in exports
Browse files Browse the repository at this point in the history
  • Loading branch information
gquittet committed Aug 27, 2024
1 parent 7e72284 commit 9cadb70
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,18 @@
"types": "./lib/index.d.ts",
"exports": {
".": {
"require": "./lib/index.cjs",
"import": "./lib/index.mjs",
"types": "./lib/index.d.ts",
"default": "./lib/index.mjs"
"require": {
"types": "./lib/index.d.ts",
"default": "./lib/index.cjs"
},
"import": {
"types": "./lib/index.d.ts",
"default": "./lib/index.mjs"
},
"default": {
"types": "./lib/index.d.ts",
"default": "./lib/index.mjs"
}
}
},
"imports": {
Expand Down

0 comments on commit 9cadb70

Please sign in to comment.