importing an ESM module in a CommonJS project in cypress #28489 #8258
-
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.
Answered by
zwhitchcox
Dec 10, 2023
Replies: 1 comment
-
Just had to change the tsconfig to:
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
zwhitchcox
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Just had to change the tsconfig to: