-
-
Notifications
You must be signed in to change notification settings - Fork 2k
Closed
Labels
discussionQuestions, feedback and general information.Questions, feedback and general information.
Description
Hello,
I am struggling to get ethers.js to work with rollup.
The specific error that I am encountering in browser is:
Uncaught SyntaxError: The requested module './../../../bn.js/lib/bn.js' does not provide an export named 'default'
Here is a repo to reproduce the error: https://github.com/GradientCap/Graph
Rollup config: https://github.com/GradientCap/Graph/blob/main/rollup.config.js
I've tried setting mainfields and using the commonjs plugin configuration from the ethers repo to no avail.
Any help would be appreciated.
rvanbaalen and syffs
Metadata
Metadata
Assignees
Labels
discussionQuestions, feedback and general information.Questions, feedback and general information.