Skip to content
This repository was archived by the owner on Sep 27, 2023. It is now read-only.

Commit c851766

Browse files
authored
fix: resolve relative basePath before passing to TS (#470)
1 parent c1bd04b commit c851766

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/loadCompilerOptions.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export const loadCompilerOptions = (): ts.CompilerOptions => {
1313
const parsedConfig = ts.parseJsonConfigFileContent(
1414
configFile.config,
1515
ts.sys,
16-
"./"
16+
ts.sys.resolvePath('./')
1717
);
1818
if (parsedConfig.errors.length > 0) {
1919
return {};

0 commit comments

Comments
 (0)