Svelte deployment

Deploy Svelte and Vite from GitHub.

RunYour.App supports client-rendered Svelte applications that use Vite and produce the default static output. Existing build-script steps are preserved.

  • Svelte + Vite
  • Additional build-script steps
  • npm, pnpm, or Bun
  • Verified HTTPS route

A build script is the contract

The platform runs the supported package-manager build command rather than replacing the project’s script. Pre-build generation or other deterministic steps already composed inside that script can run as part of the same build.

Static Svelte only

  • The repository must be a client-rendered Svelte and Vite application.
  • The build must emit the default dist directory.
  • SvelteKit, SSR, server adapters, and server endpoints are unsupported.
  • Only browser-safe VITE_* values can enter the static build.

Direct routes are served as an SPA

Generated assets are served normally, while application routes fall back to the entry document. That keeps client-side navigation and shared deep links working through the platform route.

Related deployment guides