镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

Fix @import url() being stripped - #16144

Merged
RobinMalfait merged 2 commits into
tailwindlabs:mainfrom
wongjn:hotfix/external-import
Feb 1, 2025
Merged

RobinMalfait merged 2 commits into
tailwindlabs:mainfrom
wongjn:hotfix/external-import

Conversation

@wongjn

@wongjn wongjn commented Feb 1, 2025 •

Copy link
Copy Markdown
Collaborator

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

@RobinMalfait RobinMalfait left a comment

Copy link
Copy Markdown
Contributor

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
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