Update Vite Ruby installer to target Vite 6? #518
-
Vite 6 was released this past week, and I've been upgrading a couple of my Rails + Vite Ruby apps to use Currently, when installing Vite Ruby on a brand new code base, the Vite Ruby installer explicitly uses I wonder if should we update this to v6? Are there some compatibility issues I should be looking out for? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi Matt! Most apps would require little to no changes when upgrading from Vite 5 to Vite 6. Apps using SSR might require additional work, given that Vite 6 has different internals (Environment API). I typically wait until I run a new major for a while in production, as well as keeping an eye for any patches that are released shortly after, before updating the default in Vite Ruby. |
Beta Was this translation helpful? Give feedback.
Hi Matt!
Most apps would require little to no changes when upgrading from Vite 5 to Vite 6.
Apps using SSR might require additional work, given that Vite 6 has different internals (Environment API).
I typically wait until I run a new major for a while in production, as well as keeping an eye for any patches that are released shortly after, before updating the default in Vite Ruby.