Skip to content

Commit

Permalink
fix: respect tsconfig.override (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
jindong-zhannng authored May 17, 2024
1 parent 372f9fd commit 6bbee6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ function parseCompilerOptions(file: string, options?: Options): CompilerOptions
const name = basename(location);
const parsed = ts.parseJsonConfigFileContent(tsconfig, ts.sys, directory, undefined, name);

return parsed.options;
return { ...parsed.options, ...options?.tsconfig?.override };
}

export {
Expand Down

0 comments on commit 6bbee6b

Please sign in to comment.