Adapters enable you to deploy your SvelteKit app with diverse backends, such as:

  • Node
  • Bun
  • Deno
  • Cloudflare

etc.

Node adapter

Just install it, then import the adapter as: import adapter from '@sveltejs/adapter-node'

The adapter object should be set as the default already:

const config = {
  preprocess: vitePreprocess(),
 
  kit: {
    adapter: adapter(),
  },
}