Skip to content

chore: upgrade @sveltejs/vite-plugin-svelte v5 → v6 (breaking change) #173

@josecelano

Description

@josecelano

Overview

Upgrade @sveltejs/vite-plugin-svelte from v5.x to v6.x:

  • @sveltejs/vite-plugin-svelte: ^5.0.3^6.x

This plugin bridges SvelteKit / Svelte with Vite and must stay compatible with the Svelte, SvelteKit and Vite versions in use.

Notes

  • May require Vite v7 (see linked Vite upgrade issue)
  • Check @sveltejs/kit compatibility matrix

Required Work

1. Update package

npm install @sveltejs/vite-plugin-svelte@^6

2. Check compatibility

Ensure versions of svelte, @sveltejs/kit, and vite are all compatible with v6.

3. Testing Checklist

  • npm run dev works with HMR
  • npm run build completes successfully
  • Svelte components compile correctly
  • MDsveX still processes .svelte.md / .md files

Resources

Priority

Low — depends on Vite v7 upgrade.

Part of

Epic: Major dependency upgrades tracking issue

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions