SvelteKit
Source:
src/Hetzner/Website/SvelteKit.ts
Deploy a SvelteKit application to a Hetzner Cloud Server: kit’s SSR server as a systemd unit on port 3000, static assets (prerendered pages included) baked into the unit.
The build runs through @alchemy.run/frontend-frameworks/sveltekit with
the @alchemy.run/frontend-frameworks/sveltekit/node deploy target.
Creating SvelteKit Sites
Section titled “Creating SvelteKit Sites”Basic SvelteKit App
const site = yield* Hetzner.Website.SvelteKit("Web", { rootDir: "./app",});Custom Domain
const site = yield* Hetzner.Website.SvelteKit("Web", { rootDir: "./app", domain: "app.example.com", zone,});