Cypress can't parse vue files when using rollup after updating to cypress 9.x.x #19124
Unanswered
danielvdigifit
asked this question in
Component Testing
Replies: 0 comments
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.
-
Hey there, I need some direction.
For context, my team is using rollup for an in-house component library. We set up cypress component testing experimental for cypress 6 a while ago and we're looking to update now to cypress 9.
I did the steps defined on this page https://docs.cypress.io/guides/references/migration-guide#Component-Testing with the only exception of replacing
@cypress/webpack-dev-server
for@cypress/rollup-dev-server
. I also had to installnollup
as it seemed to be missing the dependency.After pointing cypress to our projects
rollup.config.js
runningcypress open-ct
gives the following error:My build configuration still works just fine, it's just cypress that seems to be unable to correctly read and/or apply the rollup configuration to use the vue parser. Am I missing something here? Any help is appreciated
Beta Was this translation helpful? Give feedback.
All reactions