Build and deploy
Zero-config deploymentsEdit this page on GitHub
When you create a new SvelteKit project with
npm create svelte@latest, it installs
adapter-auto by default. This adapter automatically installs and uses the correct adapter for supported environments when you deploy:
@sveltejs/adapter-cloudflarefor Cloudflare Pages
svelte-adapter-azure-swafor Azure Static Web Apps
svelte-kit-sstfor AWS via SST
It's recommended to install the appropriate adapter to your
devDependencies once you've settled on a target environment, since this will add the adapter to your lockfile and slightly improve install times on CI.
Adding community adapterspermalink
You can add zero-config support for additional adapters by editing adapters.js and opening a pull request.