Open Issues Need Help
View All on GitHub Add `generateTypes` option for automatic TypeScript definitions about 2 months ago
AI Summary: Implement a new `generateTypes` option in the `vite-plugin-env-schema` plugin. This option should automatically generate a TypeScript declaration file (virtual-env.d.ts) in the project root, eliminating the need for manual type definition creation. The generated types should be compatible with various schema libraries supported by the plugin (Zod, Valibot, ArkType, Effect Schema, etc.) and should regenerate whenever the schema changes.
Complexity:
3/5
enhancement help wanted
Build-time environment variable validation and injection for Vite
TypeScript