Minimal React (via Vite) project using Varlock through @varlock/vite-integration.
Demonstrates:
- env validation from
.env.schemawith environment-specific overrides (.env.development/.env.production) - type-safe access via the
ENVproxy (import { ENV } from 'varlock/env') and viaimport.meta.env - generated types (
env.d.ts) for both access patterns - leak prevention — sensitive values are not bundled into client code
pnpm install
pnpm dev