Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(testing): Vite 5 compatibility #18403

Closed
wants to merge 8 commits into from
Closed
2 changes: 1 addition & 1 deletion packages/cypress/src/plugins/preprocessor-vite.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ function vitePreprocessor(userConfigPath?: string): CypressPreprocessor {

cache.set(filePath, outputPath);

const { build } = require('vite');
const { build } = await import('vite');
benmccann marked this conversation as resolved.
Show resolved Hide resolved

const watcher = (await build({
configFile: userConfigPath,
Expand Down