1 min read 43 words Updated Sep 24, 2026 Created Sep 24, 2026
#JavaScript#SvelteKit#TypeScript#frontend#svelte

Everything using the classic import ... from will be added to the main bundle in Svelte.

Using the import()function, everything will be split into separate chunks, and can be lazy-loaded therefore:

const Home = () => import("./Home.svelte")

Resources