Framework support

Dotvault for SvelteKit

Dotvault for SvelteKit apps.

SvelteKit splits env into `$env/static/private`, `$env/static/public`, `$env/dynamic/private`, and `$env/dynamic/public`. Getting that split right matters. Dotvault gives you a clear visual view of your .env files and a safety net of snapshots when you're moving variables around.

What you get

  • Automatic detection from package.json.
  • Understands the PUBLIC_ prefix convention for client-exposed values.
  • Snapshot and diff across .env, .env.development, .env.production.

Known environment variables

Dotvault recognises these variables when you open a SvelteKit project and surfaces helpful descriptions and warnings in the editor. SvelteKit is detected via `@sveltejs/kit` in package.json.

  • PUBLIC_

    Client-exposed variable (SvelteKit)

Official SvelteKit docs: svelte.dev/docs/kit