Skip to content

Using ${configDir} broken in v6+ #206

Description

@jozefmery

Hi,

I have a monorepo setup, where I have a package for tsconfig.json files. I'm using the ${configDir} to define includes there, but updating to 6+ breaks the resolution, even after the fix for issue #197. The symptoms are the same though.

Reproduction in the context of a minimal React Router v7 app:

repr

Run:

  • pnpm dev or pnpm build

Using v5 or running pnpm typecheck works, so the tsconfig file should be valid.

Logs:

configMismatch: {"importer":"<redacted>/repr/app/root.tsx","id":"~/foo.ts","configPath":"<redacted>\\repr\\tsconfig.json"}

Metadata

Metadata

Assignees

No one assigned

    Labels

    test case neededA test case is needed to reproduce the bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions