Skip to content

Commit 1460d90

Browse files
committed
update
1 parent 92760f3 commit 1460d90

File tree

1 file changed

+1
-5
lines changed
  • packages/schema/src/plugins/enhancer/enhance

1 file changed

+1
-5
lines changed

packages/schema/src/plugins/enhancer/enhance/index.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -164,11 +164,7 @@ export class EnhancerGenerator {
164164
);
165165
this.saveSourceFile(clientTs);
166166

167-
// `enhance.ts` and `enhance-edge.ts`
168-
const targets = this.isNewPrismaClientGenerator ? (['node'] as const) : (['node', 'edge'] as const);
169-
for (const target of targets) {
170-
this.generateEnhance(prismaImport, `${resultPrismaBaseImport}/client`, needsLogicalClient, target);
171-
}
167+
this.generateEnhance(prismaImport, `${resultPrismaBaseImport}/client`, needsLogicalClient, 'node');
172168

173169
return {
174170
// logical dmmf if there is one

0 commit comments

Comments
 (0)