Skip to content

Commit

Permalink
fix: fix ordering in the exports field
Browse files Browse the repository at this point in the history
https://nodejs.org/api/packages.html
> Within the "exports" object, key order is significant.
  • Loading branch information
susisu committed Aug 24, 2024
1 parent ecde7c0 commit b65c4fb
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@
"exports": {
".": {
"import": {
"default": "./lib/index.js",
"types": "./lib/index.d.ts"
"types": "./lib/index.d.ts",
"default": "./lib/index.js"
},
"require": {
"default": "./lib/index.cjs",
"types": "./lib/index.d.cts"
"types": "./lib/index.d.cts",
"default": "./lib/index.cjs"
}
}
},
Expand Down

0 comments on commit b65c4fb

Please sign in to comment.