vite-plugin-validate-env
vite-plugin-validate-env copied to clipboard
Support valibot
We're utilising valibot at runtime in our project, since it results in a smaller bundle size. Surely it is possible to use Zod with this Vite plugin and Valibot at runtime, but it'd be amazing if we could use the same schema validator.
Hey, happy to accept a PR for Valibot. It should be pretty easy to add. Feel free to take inspiration from Zod driver :
https://github.com/Julien-R44/vite-plugin-validate-env/blob/main/src/validators/zod/index.ts
As seen in #33, valibot is now supported through standard-schema!