This commit is contained in:
Johannes
2026-01-30 12:15:59 +01:00
parent aba6094b82
commit e4c62aa640
+3 -2
View File
@@ -288,7 +288,8 @@ async function createTranspileContext(outDir: string, excludeTests: boolean): Pr
format: 'esm',
target: ['es2024'],
platform: 'neutral',
sourcemap: isBundle ? 'external' : 'inline',
// sourcemap: isBundle ? 'external' : 'inline',
sourcemap: 'external',
sourcesContent: false,
bundle: false,
logLevel: 'warning',
@@ -470,7 +471,7 @@ async function watch(): Promise<void> {
try {
if (hasTsChanges) {
console.log('[watch] Rebuilding TypeScript...');
await ctx.cancel();
// await ctx.cancel();
await ctx.rebuild();
}