Skip to content

Latest commit

 

History

History
 
 

migrate

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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.