modal.getWalletProvider() undefined on production build #4470
Replies: 1 comment
-
Sorry it was my mistake, resolved |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Packages:
Hi, I followed the Javascript SDK tutorial to setup Web3Modal on my SvelteKit project with the latest version of
ethers
and@web3modal/ethers
I've just discovered that
getWalletProvider()
doesn't exist on the production build. Is it a bug?Screenshots below:
On development server:
On production build:
Plus: I tested on Metamask and Trust wallet, both same result.
Beta Was this translation helpful? Give feedback.
All reactions