Skip to content

Commit

Permalink
Update tsconfig-loader.ts (#161)
Browse files Browse the repository at this point in the history
base will always be true, so I think it should be deleted
  • Loading branch information
fecqs authored Apr 24, 2021
1 parent 0b259d4 commit 1fec36d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tsconfig-loader.ts
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ export function loadTsconfig(

// baseUrl should be interpreted as relative to the base tsconfig,
// but we need to update it so it is relative to the original tsconfig being loaded
if (base && base.compilerOptions && base.compilerOptions.baseUrl) {
if (base.compilerOptions && base.compilerOptions.baseUrl) {
const extendsDir = path.dirname(extendedConfig);
base.compilerOptions.baseUrl = path.join(
extendsDir,
Expand Down

0 comments on commit 1fec36d

Please sign in to comment.