Back to Daily Feed 
SvelteKit 3 RC: Configuration Moves to Vite, $lib to #lib
Must Read
Originally published on Svelte Blog
View Original Article
Share this article:
Summary & Key Takeaways
- SvelteKit 3 is now in Release Candidate, with a stable release expected soon.
- Breaking changes include moving configuration from
svelte.config.jstovite.config.ts. - The
$libalias forsrc/libis now#libto align with modern project practices. - A migration tool,
npx sv@next migrate sveltekit-3, is available to automate updates. - The full list of changes and migration guide are on
next.svelte.dev.
Our Commentary
This is a big one for Svelte developers. Moving config to vite.config.ts makes so much sense; it always felt a bit disjointed having two config files. The $lib to #lib change is also a good move for consistency. We're excited to see the stable release soon.
View Original Article
Share this article: