chore: upgrade Vite v6 → v7 and @sveltejs/vite-plugin-svelte v5 → v6#181
Merged
josecelano merged 1 commit intodevelopfrom Feb 26, 2026
Merged
chore: upgrade Vite v6 → v7 and @sveltejs/vite-plugin-svelte v5 → v6#181josecelano merged 1 commit intodevelopfrom
josecelano merged 1 commit intodevelopfrom
Conversation
Upgrades: - vite: ^6.4.1 → ^7.3.1 - @sveltejs/vite-plugin-svelte: ^5.1.1 → ^6.2.4 Both packages are upgraded together since vite-plugin-svelte v6 requires Vite ^6.3.0 || ^7.0.0. Breaking changes in Vite v7 that were assessed: - Node.js 18 dropped (we use Node 22 — no impact) - Default browser target updated to baseline-widely-available (aligns well with Tailwind v4 which also targets modern browsers) - Sass legacy API removed — no impact, vite.config.ts has no css.preprocessorOptions for sass/scss - splitVendorChunkPlugin removed — not used in this project - All other advanced API removals are not used in this project No changes to vite.config.ts were needed. All checks pass: - svelte-check: 0 errors, 0 warnings - build: success - lint: success (Prettier + ESLint) Closes #170 Closes #173 Part of epic #174
Member
Author
|
ACK 79024d5 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Overview
Upgrades Vite and the Svelte Vite plugin together (vite-plugin-svelte v6 requires Vite
^6.3.0 || ^7.0.0).Part of epic #174.
Closes #170
Closes #173
Package Changes
vite^6.4.1^7.3.1@sveltejs/vite-plugin-svelte^5.1.1^6.2.4Vite v7 Breaking Changes — Assessment
build.target→baseline-widely-availablevite.config.tshas nocss.preprocessorOptionsfor SasssplitVendorChunkPluginremovedproxySsrExternalModules, deprecated types, etc.)No changes to vite.config.ts were needed.
Testing Checklist
svelte-check: 0 errors, 0 warningsnpm run build: successnpm run lint: successnpm run dev+ HMR works in browser