Vite import-analysis error when using vite-plugin-cypress-esm #28279
Unanswered
ryany338
asked this question in
Component Testing
Replies: 1 comment 1 reply
-
I don't know if it's of any help, but I had the same and the cause turned out to be a conditional import in |
Beta Was this translation helpful? Give feedback.
1 reply
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.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to get the vite-plugin-cypress-esm working in my component tests. When I run a test with the plugin enabled, the vite:import analysis plugin throws an error. It seems like the entries that I've added to
ignoreModuleList
are not being honored. Here's a stack trace:Here's a snippet from the cypress config. I'm not sure what I'm missing.
Has anyone else run into this?
Cypress - v12.4.1
Vite - v4.5.0
@cypress/vite-plugin-cypress-esm - v1.1.0
Beta Was this translation helpful? Give feedback.
All reactions