SvelteKit
Source:
src/Fly/Website/SvelteKit.ts
Deploy a SvelteKit application to Fly: kit’s SSR server on a Machine, static assets baked into the image, served assets-first then the framework handler.
Creating SvelteKit Sites
Section titled “Creating SvelteKit Sites”Basic SvelteKit App
const site = yield* Fly.Website.SvelteKit("Web", { rootDir: "./app",});Custom Domain
const site = yield* Fly.Website.SvelteKit("Web", { rootDir: "./app", domain: "app.example.com",});