Skip to content

Commit

Permalink
feat(io): use "exports" instead of "main" for package entry point
Browse files Browse the repository at this point in the history
  • Loading branch information
Daryl-L committed Jan 11, 2023
1 parent 3846a53 commit 3890c0f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/io/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@
"description": "kuai io layer",
"homepage": "https://github.com/ckb-js/kuai#readme",
"license": "MIT",
"main": "lib/index.js",
"exports": {
".": "./lib/index.js"
},
"directories": {
"lib": "lib",
"test": "__tests__"
Expand Down

0 comments on commit 3890c0f

Please sign in to comment.