Svelte/5/Migration Recipe

1.0.4Last update Sep 9, 2024
by@35c4n0r

This recipe is a set of codemods that will help migrate to Svelte 5.

The recipe includes the following codemods:

  • svelte/5/components-as-functions
  • svelte/5/components-as-functions-destroyfunction
  • svelte/5/components-as-functions-onfunction
  • svelte/5/is-where-scoping
  • svelte/5/server-api-changes
  • svelte/5/svelte-element-expression

Build custom codemods

Use AI-powered codemod studio and automate undifferentiated tasks for yourself, colleagues or the community

background illustrationGet Started Now