-
Notifications
You must be signed in to change notification settings - Fork 38
Open
Description
As some libraries already moved away from CommonJS and delivering ESM only builds, we startet moving our projects over to using ESM as well.
Now when importing ZOD in our project, we run into the problem, that the ESM build of zod is used while zod loaded through this library will use the CJS build, leading to zod having troubles with some schemas (because it's using instanceof internally).
Moving forward it would be great if you could bundle the lib with both CJS and ESM bundles.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels