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 4, 2023
1 parent 69a93d0 commit 3614928
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 @@ -29,12 +29,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 3614928

Please sign in to comment.