Skip to content

Commit

Permalink
Prefer types exports over require, import, browser
Browse files Browse the repository at this point in the history
  • Loading branch information
penx committed Jun 6, 2022
1 parent 2f9ecb9 commit 9105002
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/fetch/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
"type": "module",
"exports": {
".": {
"types": "./dist/src/lib.node.d.ts",
"require": "./dist/lib.node.cjs",
"import": "./src/lib.node.js",
"types": "./dist/src/lib.node.d.ts",
"browser": "./src/lib.js"
},
"./package.json": "./package.json",
Expand Down

0 comments on commit 9105002

Please sign in to comment.