Pick the adapter.
Replace adapter-auto with @sveltejs/adapter-node for server rendering, or @sveltejs/adapter-static for a fully prerendered site.
SvelteKit hosting
Deploy a SvelteKit app with adapter-node and Lahyer runs it as a Node.js server, or with adapter-static and it is served as static files from a global edge. Both get HTTPS, previews and logs.
Deploy your projectWhat Lahyer does with it
Lahyer fills these in from your repository. Change anything that does not fit in the project's build settings.
| Detected from | @sveltejs/kit in your package.json dependencies |
|---|---|
| Adapter | adapter-node (server) or adapter-static (static), read from svelte.config.js |
| Install | npm, pnpm, Yarn or Bun, chosen from your packageManager field or lockfile |
| Build | Your build script, or vite build |
| Output | build/ |
Your first deploy
Replace adapter-auto with @sveltejs/adapter-node for server rendering, or @sveltejs/adapter-static for a fully prerendered site.
Import it from GitHub or GitLab. Lahyer reads svelte.config.js and fills in the build settings.
Every push deploys, pull requests get preview URLs, and you can roll back without rebuilding.
A few useful answers
Not on Lahyer yet. Install @sveltejs/adapter-node or @sveltejs/adapter-static and use it in svelte.config.js. Lahyer tells you when it finds another adapter.
Yes, with adapter-node. They run on the Node.js server Lahyer starts.
Server apps on Free sleep when idle and start again on the next request, which can take a moment. Pro keeps one production app always on.