ConciseSignal
Following

SvelteKit 3 moves config to Vite, retires $lib alias

SvelteKit 3 has reached release candidate and is now available, marking a shift in how apps are configured: settings now move from svelte.config.js to vite.config.ts, letting the Vite bundler read configs more easily. The $lib alias is replaced by #lib, aligning with Node's subpath imports and standard JavaScript packaging. There’s improved error handling, better environment variable support, and new migration tools. Remote functions remain experimental for now.

Why it mattersSvelteKit is the main framework for Svelte app development, so these changes affect anyone maintaining or building new projects. Standardizing on native configuration and import mechanisms should ease workflows but may require code updates.

Sources covering this

InfoQSvelteKit 3 Reaches Release Candidate, Moving Config to Vite and Retiring the $lib Alias5:58 AM →svelte.devSvelteKit 3 Is Here12:00 AM →

In this story

Concise Signal DailyEnterprise AI, security & business tech.Weekdays, 7am Eastern · Sample issue

More in Enterprise