Skip to content

Commit

Permalink
feat: add "." entry point
Browse files Browse the repository at this point in the history
  • Loading branch information
bgins committed Jul 5, 2023
1 parent 2270947 commit a3c8aef
Showing 1 changed file with 16 additions and 14 deletions.
30 changes: 16 additions & 14 deletions ucan-wasm/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,20 +17,22 @@
"homepage": "https://github.com/ucan-wg/rs-ucan#readme",
"type": "module",
"exports": {
"deno": {
"types": "./lib/deno/ucan_wasm.d.ts",
"default": "./lib/deno/ucan_wasm.js"
},
"node": {
"types": "./lib/node/ucan_wasm.d.ts",
"require": "./lib/node/ucan_wasm.js"
},
"workerd": {
"types": "./lib/workerd/ucan_wasm.d.ts",
"default": "./lib/workerd/index.js"
},
"types": "./lib/browser/ucan_wasm.d.ts",
"default": "./lib/browser/ucan_wasm.js"
".": {
"deno": {
"types": "./lib/deno/ucan_wasm.d.ts",
"default": "./lib/deno/ucan_wasm.js"
},
"node": {
"types": "./lib/node/ucan_wasm.d.ts",
"require": "./lib/node/ucan_wasm.js"
},
"workerd": {
"types": "./lib/workerd/ucan_wasm.d.ts",
"default": "./lib/workerd/index.js"
},
"types": "./lib/browser/ucan_wasm.d.ts",
"default": "./lib/browser/ucan_wasm.js"
}
},
"scripts": {
"build": "export PROFILE=dev && export TARGET_DIR=debug && npm run buildall",
Expand Down

0 comments on commit a3c8aef

Please sign in to comment.