@predragnikolic/vite-validate-env
v0.0.6
Published
Script to gen erate translations files from local or remote csv.
Downloads
54
Readme
vite-validate-env
Validate Vite env with Zod.
Setup
Update vite.config.ts
with:
import { viteValidateEnv } from "@predragnikolic/vite-validate-env"
import z from "zod"
export default defineConfig({
plugins: [
viteValidateEnv(z.object({
VITE_BASE_URL: z.string()
}))
]
})