8 lines
422 B
JavaScript
8 lines
422 B
JavaScript
import * as z from "./v4/classic/external.js";
|
|
export * from "./v4/classic/external.js";
|
|
// Aliasing the binding, instead of `export default z`, keeps the default export a
|
|
// re-export of `z` rather than a fresh namespace value. Rollup and Webpack can then
|
|
// shake `import z from "zod"` as they already shake `import { z } from "zod"` — without
|
|
// this they pull in every locale. See #6050.
|
|
export { z, z as default };
|