We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4834c43 commit 8302527Copy full SHA for 8302527
packages/core/src/writers/generate-imports-for-builder.ts
@@ -11,7 +11,7 @@ export function generateImportsForBuilder(
11
const isZodSchemaOutput =
12
isObject(output.schemas) && output.schemas.type === 'zod';
13
14
- if (!output.indexFiles) {
+ if (!output.indexFiles && !output.schemas) {
15
return uniqueBy(imports, (x) => x.name).map((i) => {
16
const baseName = i.schemaName || i.name;
17
const name = conventionName(baseName, output.namingConvention);
0 commit comments