ELSEIF
Your brief EB
366 stories from 101 feeds 294 clusters Refreshed 11 minutes ago next pull 21:06

WEB Signal 412

SvelteKit 3 release candidate moves config to vite.config.ts and replaces $lib with #lib

SvelteKit 3 has entered release candidate, introducing breaking changes from version 2, with a migration tool available via sv migrate.

WHY IT MATTERS

Engineers upgrading from SvelteKit 2 will need to run the migration tool and adjust to configuration in vite.config.ts and the #lib alias. The release candidate signals that a stable release is near, but breaking changes require planning. Improved error handling and environment variables could simplify app development.

Written by elseif from the cluster below · every claim links back to a source

The three things worth knowing

01

Configuration now lives in vite.config.ts instead of svelte.config.js.

02

The $lib alias is replaced by #lib subpath imports, requiring file extensions in imports.

03

SvelteKit 3 requires Svelte 5, enabling better error handling with error boundaries.

THE CLUSTER

Same story, 1 feed.

ORDERED BY FIRST SEEN
svelte.dev via Lobsters The SvelteKit 3 Release Candidate is here Open ↗