cypress icon indicating copy to clipboard operation
cypress copied to clipboard

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

Open AtofStryker opened this issue 1 year ago • 3 comments

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)~ this change was not implemented in vite 6

Why is this needed?

keep up to date with latest bundlers

Other

see: #28373 #29557

AtofStryker avatar Nov 08 '24 18:11 AtofStryker

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.

MikeMcC399 avatar Nov 14 '24 16:11 MikeMcC399

[email protected] release has now taken place.

MikeMcC399 avatar Nov 26 '24 10:11 MikeMcC399

[email protected] release has now taken place.

the timing could not be better 😄

AtofStryker avatar Nov 26 '24 14:11 AtofStryker

Released in 14.0.0.

This comment thread has been locked. If you are still experiencing this issue after upgrading to Cypress v14.0.0, please open a new issue.

cypress-bot[bot] avatar Jan 16 '25 21:01 cypress-bot[bot]