Skip to content

Commit

Permalink
fix: broken module exports (#73)
Browse files Browse the repository at this point in the history
  • Loading branch information
tmm authored Jan 13, 2022
1 parent a8c15a2 commit 0c78ccc
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 84 deletions.
5 changes: 5 additions & 0 deletions .changeset/seven-shoes-battle.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'wagmi': patch
---

fix module exports
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
"scripts": {
"build": "preconstruct build",
"build:docs": "manypkg run docs build",
"changeset:release": "pnpm gen:readme && pnpm build && changeset publish",
"changeset:version": "changeset version && pnpm install --lockfile-only",
"dev": "preconstruct dev",
"dev:docs": "pnpm build && manypkg run docs dev",
"dev:example:next": "pnpm build && manypkg run example-next dev",
Expand Down Expand Up @@ -60,7 +62,6 @@
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-react-hooks": "^4.3.0",
"eslint-plugin-testing-library": "^5.0.1",
"ethereum-abi-types-generator": "^1.3.2",
"fs-extra": "^10.0.0",
"glob": "^7.2.0",
"husky": "^7.0.4",
Expand Down
12 changes: 6 additions & 6 deletions packages/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,16 @@
"default": "./dist/wagmi.cjs.js"
},
"./connectors/injected": {
"main": "./connectors/injected/dist/wagmi-connectors-injected.cjs.js",
"module": "./connectors/injected/dist/wagmi-connectors-injected.esm.js"
"module": "./connectors/injected/dist/wagmi-connectors-injected.esm.js",
"default": "./connectors/injected/dist/wagmi-connectors-injected.cjs.js"
},
"./connectors/walletConnect": {
"main": "./connectors/walletConnect/dist/wagmi-connectors-walletConnect.cjs.js",
"module": "./connectors/walletConnect/dist/wagmi-connectors-walletConnect.esm.js"
"module": "./connectors/walletConnect/dist/wagmi-connectors-walletConnect.esm.js",
"default": "./connectors/walletConnect/dist/wagmi-connectors-walletConnect.cjs.js"
},
"./connectors/walletLink": {
"main": "./connectors/walletLink/dist/wagmi-connectors-walletLink.cjs.js",
"module": "./connectors/walletLink/dist/wagmi-connectors-walletLink.esm.js"
"module": "./connectors/walletLink/dist/wagmi-connectors-walletLink.esm.js",
"default": "./connectors/walletLink/dist/wagmi-connectors-walletLink.cjs.js"
}
},
"files": [
Expand Down
77 changes: 0 additions & 77 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 comment on commit 0c78ccc

@vercel
Copy link

@vercel vercel bot commented on 0c78ccc Jan 13, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

Please sign in to comment.