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")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")