Skip to content

fix(cli): resolve compiler paths from tsconfig.app.json and tsconfig.web.json (#11466) - #11560

Open
Rodrigoue9 wants to merge 2 commits into
shadcn-ui:mainfrom
Rodrigoue9:fix/tsconfig-app-fallback
Open

fix(cli): resolve compiler paths from tsconfig.app.json and tsconfig.web.json (#11466)#11560
Rodrigoue9 wants to merge 2 commits into
shadcn-ui:mainfrom
Rodrigoue9:fix/tsconfig-app-fallback

Conversation

@Rodrigoue9

Copy link
Copy Markdown

Summary

Resolves #11466 by adding fallback resolution to sconfig.app.json and sconfig.web.json in esolveConfigPaths when the root sconfig.json does not declare compilerOptions.paths (standard Vite project structure with project references).

Changes

  • In esolveConfigPaths, if loadConfig(cwd) fails or returns empty paths, try loading sconfig.app.json or sconfig.web.json.

Closes #11466

@vercel

vercel Bot commented Aug 19, 2026

Copy link
Copy Markdown
Contributor

@Rodrigoue9 is attempting to deploy a commit to the shadcn-pro Team on Vercel.

A member of the Team first needs to authorize it.

@github-actions

Copy link
Copy Markdown
Contributor

Can you sign the commits please? See https://docs.github.com/en/authentication/managing-commit-signature-verification/signing-commits. Thank you.

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.

[bug]: Currently shadcn cli doesnt resolve tsconfig.app.json

1 participant