Skip to content

[v4] Regression: Media queries inside @apply not working as expected compared to v3 #18520

Answered by wongjn
weilinzung asked this question in Help
Discussion options

You must be logged in to vote

You can try in .postcssrc.json:

{
  "plugins": {
    "@tailwindcss/postcss": {
      "optimize": true
    }
  }
}

Replies: 2 comments 15 replies

Comment options

You must be logged in to vote
1 reply
@weilinzung
Comment options

Comment options

You must be logged in to vote
14 replies
@weilinzung
Comment options

@wongjn
Comment options

wongjn Jul 13, 2025
Collaborator

@weilinzung
Comment options

@wongjn
Comment options

wongjn Jul 13, 2025
Collaborator

Answer selected by weilinzung
@weilinzung
Comment options

@wongjn
Comment options

wongjn Jul 13, 2025
Collaborator

@weilinzung
Comment options

@weilinzung
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #18519 on July 12, 2025 19:11.