Closed THEtheChad closed 1 year ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
zod-fixture | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Jul 9, 2023 3:58am |
:tada: This PR is included in version 2.0.0-beta.8 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
I had the realization that the bundled build was pulling in a ton of zod internals that we didn't need, in addition to causing the generators to break (because symbols were tied to our bundled version of zod).
I stubbed out the bare minimum of what we'd need to get the matcher to work. This reduced the bundle size from 91kb to 14kb. I believe there are still some functions we're pulling in from zod that we could strip out, but I felt like this was a good start.
I also added the instance identifier back in since it's not used by any of the pre-bundled generators and is required for z.custom to work.