Closed JirAcheron closed 1 year ago
Yeah, this is because Parcel doesn't support package.json#exports
yet unfortunately.
Just opened a PR up at #540 as a workaround for Parcel and other bundlers that do not support it. You can give it a go by installing npm i viem@0.0.0-jxom-proxy-packages.20230519T060637
.
Published a fix on 0.3.31
.
This issue has been locked since it has been closed for more than 14 days.
If you found a concrete bug or regression related to it, please open a new bug report with a reproduction against the latest Viem version. If you have any questions or comments you can create a new discussion thread.
Is there an existing issue for this?
Package Version
0.3.30
Current Behavior
trying to build a project using parcel with the new rainbowkit and wagmi upgrades. below are what i believe to be the relevant dependencies:
parcel fails to resolve the paths whenever 'viem/ens' and
viem/chains
are referenced in the distribution directory (wagmi/core/dist/
). i managed to get the app working locally by clearing out these reference segments from node modules, but any information regarding a solution for path resolution would be helpfulthe full client-side dependencies can be found below:
Expected Behavior
builds
Steps To Reproduce
No response
Link to Minimal Reproducible Example (StackBlitz, CodeSandbox, GitHub repo etc.)
No response
Anything else?
No response