Skip to content

Commit 038ea73

Browse files
committed
fix: make sure to run tsdown in new context for proper types generation
1 parent 34fafdd commit 038ea73

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/db/lib/build.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,8 @@ export async function buildDatabaseSchema(buildDir: string, { relativeDir }: { r
100100
skipNodeModulesBundle: true,
101101
dts: {
102102
build: false,
103-
tsconfig: false
103+
tsconfig: false,
104+
newContext: true
104105
},
105106
clean: false,
106107
logLevel: 'warn'

0 commit comments

Comments
 (0)