Typed Virtual ModulesImport `env` from `virtual:env/client` or `virtual:env/server` with full IntelliSense and type safety.
Server / Client SplitEnforce variable boundaries at define-time with automatic VITE_ prefix validation. Server secrets never reach the browser.
Build-time Leak DetectionScans client bundles for server secret values before they ship. Catches leaks that code review misses.
Auto Type GenerationGenerates `vite-env.d.ts` on every build start. No manual type declarations that drift from reality.
Auto .env.exampleGenerate documented `.env.example` files from your Zod schema with types, defaults, and required flags.
Zod v4 + Standard SchemaFirst-class Zod v4 support with rich type inference. Or use Valibot, ArkType, or any Standard Schema validator.