Skip to content

Commit

Permalink
Simplify exports in package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
Borewit committed Feb 15, 2025
1 parent 0b1a9b7 commit 20e9439
Showing 1 changed file with 11 additions and 13 deletions.
24 changes: 11 additions & 13 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,19 +18,17 @@
],
"type": "module",
"exports": {
".": {
"node": {
"import": "./lib/index.js",
"module-sync": "./lib/index.js",
"require": "./lib/node.cjs",
"types": "./lib/index.d.ts"
},
"default": {
"import": "./lib/core.js",
"module-sync": "./lib/index.js",
"require": "./lib/default.cjs",
"types": "./lib/core.d.ts"
}
"node": {
"import": "./lib/index.js",
"module-sync": "./lib/index.js",
"require": "./lib/node.cjs",
"types": "./lib/index.d.ts"
},
"default": {
"import": "./lib/core.js",
"module-sync": "./lib/index.js",
"require": "./lib/default.cjs",
"types": "./lib/core.d.ts"
}
},
"types": "lib/index.d.ts",
Expand Down

0 comments on commit 20e9439

Please sign in to comment.