Skip to content

fix: add default export condition for shadcn/tailwind.css#10932

Open
mixelburg wants to merge 1 commit into
shadcn-ui:mainfrom
mixelburg:fix/add-default-export-for-tailwind-css
Open

fix: add default export condition for shadcn/tailwind.css#10932
mixelburg wants to merge 1 commit into
shadcn-ui:mainfrom
mixelburg:fix/add-default-export-for-tailwind-css

Conversation

@mixelburg

Copy link
Copy Markdown

Fixes #10931

The ./tailwind.css entry in packages/shadcn/package.json exports only has a "style" condition but no "default" fallback. Turbopack's resolver doesn't recognize the bare "style" condition, so importing shadcn/tailwind.css fails with a CssSyntaxError.

Every other entry in the exports map already has "default" alongside "types", so this just fills in the missing fallback.

@vercel

vercel Bot commented Jun 12, 2026

Copy link
Copy Markdown
Contributor

@mixelburg 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.

@mixelburg mixelburg force-pushed the fix/add-default-export-for-tailwind-css branch from 2abff23 to fb5421f Compare June 13, 2026 00:21
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.

fix(shadcn): missing default condition in exports["./tailwind.css"] breaks Turbopack

1 participant