-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
fix(vite): support Vite 5 #7983
Conversation
|
Name | Type |
---|---|
@remix-run/dev | Patch |
create-remix | Patch |
remix | Patch |
@remix-run/architect | Patch |
@remix-run/cloudflare | Patch |
@remix-run/cloudflare-pages | Patch |
@remix-run/cloudflare-workers | Patch |
@remix-run/css-bundle | Patch |
@remix-run/deno | Patch |
@remix-run/eslint-config | Patch |
@remix-run/express | Patch |
@remix-run/node | Patch |
@remix-run/react | Patch |
@remix-run/serve | Patch |
@remix-run/server-runtime | Patch |
@remix-run/testing | Patch |
Click here to learn what changesets are, and how to add one.
Click here if you're a maintainer who wants to add a changeset to this PR
🤖 Hello there, We just published version Thanks! |
🤖 Hello there, We just published version Thanks! |
Since Vite 5 is due to be released in the coming days, this PR bumps our peer dependency range to
^4.4.9 || ^5.0.0
, and also updates our dev dependency to5.0.0-beta.18
so we can be confident that we're ready for the release.The most notable change for us is that the CJS build of Vite is deprecated and due to be removed in v6. Our use of the CJS build still works in v5 but leaving it in would mean that the consumer sees a deprecation warning in the terminal. To avoid this deprecation warning without forcing us to migrate to ESM right now, we're now dynamically importing the
vite
package up-front in our plugin'sconfig
hook.