Skip to content

Latest commit

 

History

History
17 lines (11 loc) · 470 Bytes

README.md

File metadata and controls

17 lines (11 loc) · 470 Bytes

svelte-migrate

A CLI for migrating Svelte(Kit) codebases.

npx svelte-migrate [migration]

Migrations

Right now, there's only one migration — routes:

npx svelte-migrate routes

This will update your codebase in readiness for sveltejs#5748. The script will automate as much of the conversion as possible, then annotate your codebase with tasks for completion that you can find by searching for @migration.