Skip to content

@ethersproject/asm not working in browser #1

@wighawag

Description

@wighawag

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_

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions