Change the vite mode in component testing #28371
Unanswered
RobbeCl
asked this question in
Component Testing
Replies: 1 comment
-
See this change: https://www.cypress.io/blog/2022/11/04/upcoming-changes-to-component-testing#vite-dev-server
|
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
-
How do I pass Vite flags (like mode: https://vitejs.dev/config/shared-options.html#mode) through the cypress run command?
When I change my configuration file from
to
My imports fail to resolve ([plugin:vite:import-analysis] Failed to resolve import "@/components/Typography" from "cypress/support/component.ts". Does the file exist?)
I think it suddenly stopped taking my default vite.config.ts file into account.
Beta Was this translation helpful? Give feedback.
All reactions