Skip to content

Zod to Valibot Size Reduction #557

Answered by fabian-hiller
Everduin94 asked this question in Q&A
Discussion options

You must be logged in to vote

I think your problem is that you are building your library for CommonJS only. I recommend to build your project for ESM as well and use it as the default. Check out the build step and import configuration of Valibot. Reach out if you need help.

Replies: 3 comments 5 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by Everduin94
Comment options

You must be logged in to vote
5 replies
@Everduin94
Comment options

@Everduin94
Comment options

@Everduin94
Comment options

@Everduin94
Comment options

@fabian-hiller
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants