get-tsconfig icon indicating copy to clipboard operation
get-tsconfig copied to clipboard

Add support for TS 5.5 `${configDir}` template variable

Open zanminkian opened this issue 7 months ago • 0 comments

Feature request

TS 5.5 support ${configDir} template variable. See here.

import { parseTsconfig } from "get-tsconfig";
const tsconfig = parseTsconfig('/path/to/tsconfig.json');
console.log(tsconfig.compileOptions.outDir) // if there is `${configDir}` template variable in `outDir`, the output result is incorrect in TS 5.5

Motivations

To support TS 5.5 ${configDir} template variable.

Alternatives

No response

Additional context

No response

Bugs are expected to be fixed by those affected by it

  • [ ] I'm interested in working on this issue

Compensating engineering work financially will speed up resolution

  • [ ] I'm willing to offer financial support

zanminkian avatar Jul 14 '24 11:07 zanminkian