ethers.js icon indicating copy to clipboard operation
ethers.js copied to clipboard

@ethersproject/asm not working in browser

Open wighawag opened this issue 2 years ago • 0 comments

Ethers Version

5.7.0

Search Terms

asm,browser

Describe the Problem

I am using vitejs.dev/ and I get this error when using @ethersproject/asm in browser :

client-manifest.js?t=1663412740209:14 ReferenceError: exports is not defined
    at _parser.js:785:15

Code Snippet

No response

Contract ABI

No response

Errors

client-manifest.js?t=1663412740209:14 ReferenceError: exports is not defined
    at _parser.js:785:15


### Environment

Browser (Chrome, Safari, etc)

### Environment (Other)

_No response_

wighawag avatar Sep 17 '22 11:09 wighawag