Skip to content

Use Zod Mini to optimize bundle size #733

@gudnuf

Description

@gudnuf

We use Zod in our app for schema parsing and validation. With the release of Zod 4.0, there is now an option called Zod Mini that uses a "a functional, tree-shakable API". The docs say this can reduce the bundle size of Zod by about 64%

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3nice to have eventually

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions