Skip to content

Commit

Permalink
chore: make module exports take precedence
Browse files Browse the repository at this point in the history
`module` should precede any condition.
See bluwy/publint#46 (comment)
for more context and details.
  • Loading branch information
Conaclos committed Jul 5, 2023
1 parent b2e795d commit 97f0c5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,12 @@
"exports": {
"./package.json": "./package.json",
".": {
"module": "./dist/index.js",
"require": {
"types": "./dist/index.d.cts",
"default": "./dist/index.cjs"
},
"types": "./dist/index.d.ts",
"module": "./dist/index.js",
"default": "./dist/index.js"
}
},
Expand Down

0 comments on commit 97f0c5f

Please sign in to comment.