Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is there a way not to include zod into the bundle? #226

Open
AleksandrZhukov opened this issue Apr 24, 2024 · 1 comment
Open

Is there a way not to include zod into the bundle? #226

AleksandrZhukov opened this issue Apr 24, 2024 · 1 comment

Comments

@AleksandrZhukov
Copy link

I have a classic SPA application, want to use t3-env to validate envs just on build time, plus autocomplete etc.
But my application doesn't use zod inside, so seems it sounds reasonable not to include it to the bundle.
It is possible to achieve?

@juliusmarminge
Copy link
Member

juliusmarminge commented Apr 26, 2024

No - we have plans to support other validation libraries (#6 #169) so you can bring something lighter if you're not already using Zod. But just haven't had time n'or the need for it myself since I almost always use zod for validating other stuff so there's no extra bytes for me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants