Skip to content

Instantly share code, notes, and snippets.

View aakash14goplani's full-sized avatar
🎯
Focusing

Aakash Goplani aakash14goplani

🎯
Focusing
View GitHub Profile

This migration guide provides an overview of how to upgrade your system and applications based on the recent breaking changes. See the linked PRs for more detailed migration instructions. Use the migration script to migrate some of these automatically: npx svelte-migrate svelte-4

1. Node version

Upgrade to Node 16 or higher. Earlier versions are no longer supported. (#8566)

2. webpack version

Upgrade to webpack 5 or higher. Earlier versions are no longer supported. (#8515)

3. Browser conditions for bundlers

Bundlers must now specify the browser condition when building a frontend bundle for the browser. (#8516)