cypress-io / cypress

Fast, easy and reliable testing for anything that runs in a browser.
https://cypress.io
MIT License
47.06k stars 3.19k forks source link

Support Vite 6 with @cypress/vite-dev-server #30591

Open AtofStryker opened 1 week ago

AtofStryker commented 1 week ago

What would you like?

Vite 6 beta is currently out. To continue support of bundler updates, Cypress should add support for Vite 6 to keep up with latest trends in bundling and Component Testing

Vite 6 looks to require being used as an esm package. so we likely need to change the way we import it (see https://github.com/cypress-io/cypress/issues/28373#issuecomment-2219330833)

Why is this needed?

keep up to date with latest bundlers

Other

see:

28373

29557

MikeMcC399 commented 1 day ago

https://github.com/vitejs/vite/discussions/15886#discussioncomment-11170973 indicates that the release of Vite 6 is in next couple of weeks.

Check back on https://vite.dev/blog.html for any announcement.