Skip to content

fix(shadcn): add missing default export condition for tailwind.css#11063

Open
highoncomputers wants to merge 1 commit into
shadcn-ui:mainfrom
highoncomputers:fix/issue-10931-tailwindcss-exports-default
Open

fix(shadcn): add missing default export condition for tailwind.css#11063
highoncomputers wants to merge 1 commit into
shadcn-ui:mainfrom
highoncomputers:fix/issue-10931-tailwindcss-exports-default

Conversation

@highoncomputers

Copy link
Copy Markdown

Closes #10931

Add a default condition alongside style in the exports map for ./tailwind.css. Turbopack's resolver does not recognize the bare style condition without a default fallback, causing CssSyntaxError when importing shadcn/tailwind.css.

Other entries in the exports map already follow this pattern (both types and default conditions).

@vercel

vercel Bot commented Jun 30, 2026

Copy link
Copy Markdown
Contributor

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

A member of the Team first needs to authorize it.

Add a `default` condition alongside `style` in the exports map for
`./tailwind.css`. Turbopack's resolver does not recognize the bare
`style` condition without a `default` fallback, causing
CssSyntaxError when importing shadcn/tailwind.css.

Other entries in the exports map already follow this pattern.

Closes shadcn-ui#10931

Co-authored-by: shadcn <shadcn@users.noreply.github.com>
@highoncomputers highoncomputers force-pushed the fix/issue-10931-tailwindcss-exports-default branch from d905df2 to 8377f47 Compare July 1, 2026 04:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant