We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7f82fe1 commit a3ea9c1Copy full SHA for a3ea9c1
1 file changed
README.md
@@ -144,7 +144,10 @@ export default defineConfig({
144
import { defineConfig, Schema } from '@julr/vite-plugin-validate-env'
145
146
export default defineConfig({
147
- VITE_MY_VAR: Schema.enum(['foo', 'bar'] as const),
+ validator: "builtin",
148
+ schema: {
149
+ VITE_MY_VAR: Schema.enum(['foo', 'bar'] as const),
150
+ },
151
})
152
```
153
0 commit comments