Production builds
At this point we have a mostly working app. You can create a production build and preview it locally:
pnpm build
pnpm preview --host It’s telling us we haven’t configured an adapter. You can deploy SvelteKit apps anywhere JavaScript runs, but you need to tell SvelteKit how to interact with your deployment platform — there are adapters for Vercel, Cloudflare, Netlify, Node, Bun, Deno and lots of others. You can even create a fully static site that’s just HTML — this workshop site is an example of that.
We’re not going to cover the actual deployment process here, because it differs from platform to platform, but the SvelteKit docs have everything you need.