Skip to content

Commit 67e1bfa

Browse files
committed
chore: log tsconfig path
1 parent 69c1899 commit 67e1bfa

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

packages/dts-plugin/src/core/lib/typeScriptCompiler.ts

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
1-
import { ensureDirSync, writeFileSync, existsSync } from 'fs-extra';
1+
import {
2+
ensureDirSync,
3+
writeFileSync,
4+
existsSync,
5+
readFileSync,
6+
} from 'fs-extra';
27
import { stat, readdir, writeFile, rm, readFile } from 'fs/promises';
38
import { randomUUID } from 'crypto';
49
import {
@@ -208,6 +213,11 @@ export const compileTs = async (
208213
} catch (err) {
209214
if (isDebugMode()) {
210215
console.log('tsconfig: ', JSON.stringify(tsConfig, null, 2));
216+
console.log('tempTsConfigJsonPath: ', tempTsConfigJsonPath);
217+
console.log(
218+
'tempTsConfigJson: ',
219+
readFileSync(tempTsConfigJsonPath, 'utf-8'),
220+
);
211221
}
212222
throw err;
213223
}

0 commit comments

Comments
 (0)