tsconfck icon indicating copy to clipboard operation
tsconfck copied to clipboard

compilerOptions.paths are not rebased correctly if defined in an extended tsconfig in a different directory

Open dominikg opened this issue 8 months ago • 1 comments

Description

see https://github.com/vitest-dev/vitest/issues/7501#issuecomment-2675730438

Reproduction

https://github.com/rixo/vitest-issue-tsconfig-relative-paths

run pnpm dlx tsconfck parse tsconfig.json

expected output

as defined in https://www.typescriptlang.org/docs/handbook/modules/reference.html#relationship-to-baseurl the paths should be treated as relative to baseUrl or the directory of the tsconfig that defined them

dominikg avatar Feb 21 '25 22:02 dominikg