Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix @import url() being stripped #16144

Merged
merged 2 commits into from
Feb 1, 2025

Conversation

wongjn
Copy link
Contributor

@wongjn wongjn commented Feb 1, 2025

Regression from #16121, where empty at-rules are stripped from output. There are some exceptions made (like @layer) but it seems @import was missed. This PR assumes that the non-url() @imports have already been dealt with up to this point.

Fixes #16136.

@wongjn wongjn requested a review from a team as a code owner February 1, 2025 10:34
Copy link
Member

@RobinMalfait RobinMalfait left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shoot, good catch thanks! Will drop a release with this fix, thanks!

@RobinMalfait RobinMalfait merged commit b7436f8 into tailwindlabs:main Feb 1, 2025
5 checks passed
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.

@import statement is not working in v4.0.2
2 participants