Skip to content

fix: incorrect configDir variable resolution in tsconfig.json#1354

Open
Niikelion wants to merge 1 commit intoegoist:mainfrom
Niikelion:main
Open

fix: incorrect configDir variable resolution in tsconfig.json#1354
Niikelion wants to merge 1 commit intoegoist:mainfrom
Niikelion:main

Conversation

@Niikelion
Copy link
Copy Markdown

This PR solves #1347 by passing the absolute path to the basePath argument of parseJsonConfigFileContent. Without this, ${configDir} seems to resolve to the empty string '' rendering the feature unusable.

As far as I can tell this shouldn't affect the typescript configurations that don't use configDir.

@codesandbox
Copy link
Copy Markdown

codesandbox bot commented Jul 3, 2025

Review or Edit in CodeSandbox

Open the branch in Web EditorVS CodeInsiders

Open Preview

@vercel
Copy link
Copy Markdown

vercel bot commented Jul 3, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
tsup ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 3, 2025 6:05pm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant