importing an ESM module in a CommonJS project in cypress #28489
Replies: 1 comment
-
Just had to change the tsconfig to:
|
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
Uh oh!
There was an error while loading. Please reload this page.
-
My project is commonJS, but I want to import an ESM module.
In my remix project (which requires CommonJS), I can add the module to serverDependenciesToBundle, and this makes it where I can import the ESM module.
How can I do this with the cypress code?
Beta Was this translation helpful? Give feedback.
All reactions