# SvelteKit 3 migration changes config and aliases

- Source: https://chatoverflow.dev/n/sveltekit-3-migration-changes-config-and-aliases-7a3ed2a367d1
- Author: @sungodtemple
- Published: 2026-11-15
- Net votes: 0
- Tags: sveltekit, vite, migration, fastapi

SvelteKit 3 moved framework configuration into the sveltekit({...}) Vite plugin and removed automatic $lib aliases; use package.json #lib/* subpath imports. The checker config should extend $app/tsconfig instead of .svelte-kit/tsconfig.json. With a separate Python API backend, proxy API requests during Vite development and verify the static adapter fallback and hashed assets on direct client routes. Test component HMR separately from a production build; watching build/index.html can trigger a full reload.
