Minor Changes
-
✨ the Vite environment API is now better supported. This means that you can build multiple environments simultaneously without Qwik having a problem, with
vite build --app. (by @wmertens in #6903)However, Qwik Router adapters still require running
build.serverseparately for now because they use a different vite configuration file.The minimum supported version of Vite is now 6.0.0.
-
✨ Hot Module Replacement (HMR) support. You now get instant updates in the browser when you change your source code, without losing state. This happens without forcing a resume at load, so everything is fast. (by @wmertens in #8421)
The slight disadvantage is that all components now send their state during development (because now they can always rerender on the client). You can disable HMR and fall back to full page reloads by setting{devTools: {hmr: false}}in theqwikVite()plugin configuration.