Deploy SvelteKit with Risved
SvelteKit is a full-stack framework built on Svelte 5. Risved detects it from your svelte.config.js and @sveltejs/kit dependency.
How Risved builds it
Tier 2, Node build, Deno serve. Risved runs npm ci and npm run build in a Node container, then copies the output to a Deno container for production.
What you need
- A SvelteKit project with
@sveltejs/adapter-node(Risved serves the Node adapter output) - A
buildscript in yourpackage.json
Environment variables
Set ORIGIN to your production URL. SvelteKit uses this for CSRF protection. Add it in Risved's project settings.
Starter template
Deploy a working SvelteKit app in under 30 seconds with Risved's starter template.