Skip to content

Commit

Permalink
fix(connect-plugin-ethereum): use exports with require and import
Browse files Browse the repository at this point in the history
  • Loading branch information
karliatto committed Feb 3, 2025
1 parent e948e70 commit a631704
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions packages/connect-plugin-ethereum/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,10 @@
"!**/*.map"
],
"exports": {
"node": "./lib/index.js",
"default": "./libESM/index.js"
".": {
"import": "./libESM/index.js",
"require": "./lib/index.js"
}
},
"peerDependencies": {
"@metamask/eth-sig-util": "^8.0.0",
Expand Down

0 comments on commit a631704

Please sign in to comment.