Skip to content

Commit

Permalink
add proper deno+bun export conds
Browse files Browse the repository at this point in the history
  • Loading branch information
jcbhmr committed Jul 6, 2023
1 parent 2c24ea7 commit 8563bb2
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,21 +13,29 @@
"type": "module",
"imports": {
"#greenlet.js": {
"deno": "./src/greenlet.js",
"bun": null,
"node": "./src/greenlet-node.js",
"default": "./src/greenlet.js"
},
"#redlet.js": {
"deno": "./src/redlet.js",
"bun": null,
"node": "./src/redlet-node.js",
"default": "./src/redlet.js"
}
},
"exports": {
".": "./src/index.js",
"./greenlet.js": {
"deno": "./src/greenlet.js",
"bun": null,
"node": "./src/greenlet-node.js",
"default": "./src/greenlet.js"
},
"./redlet.js": {
"deno": "./src/redlet.js",
"bun": null,
"node": "./src/redlet-node.js",
"default": "./src/redlet.js"
}
Expand Down

0 comments on commit 8563bb2

Please sign in to comment.