Skip to content

Commit 6bbee6b

Browse files
fix: respect tsconfig.override (#5)
1 parent 372f9fd commit 6bbee6b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/plugin.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ function parseCompilerOptions(file: string, options?: Options): CompilerOptions
8888
const name = basename(location);
8989
const parsed = ts.parseJsonConfigFileContent(tsconfig, ts.sys, directory, undefined, name);
9090

91-
return parsed.options;
91+
return { ...parsed.options, ...options?.tsconfig?.override };
9292
}
9393

9494
export {

0 commit comments

Comments
 (0)