Skip to content

Fix CSS being tree-shaken in production builds by declaring styles.css as#961

Merged
ted-palmer merged 2 commits intomainfrom
ted/fix-css-issue
Mar 5, 2026
Merged

Fix CSS being tree-shaken in production builds by declaring styles.css as#961
ted-palmer merged 2 commits intomainfrom
ted/fix-css-issue

Conversation

@ted-palmer
Copy link
Collaborator

No description provided.

ted-palmer and others added 2 commits March 5, 2026 13:37
…sideEffect

After migrating from Panda CSS to Tailwind, the external styles.css file
was being dropped by bundlers in production due to "sideEffects": false.
This marks all CSS output paths as side effects so bundlers preserve them.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@ted-palmer ted-palmer requested a review from pedromcunha March 5, 2026 18:39
@vercel
Copy link
Contributor

vercel bot commented Mar 5, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
relay-sdk-demo Building Building Preview, Comment Mar 5, 2026 6:39pm

Request Review

@ted-palmer ted-palmer merged commit 887f0e0 into main Mar 5, 2026
1 of 2 checks passed
@ted-palmer ted-palmer deleted the ted/fix-css-issue branch March 5, 2026 18:41
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.

2 participants