Skip to content

Conversation

@RobinMalfait
Copy link
Member

This PR fixes an issue where passing { optimize: true } to the @tailwindcss/postcss plugin would only optimize the CSS but not minify the CSS.

The default should be to optimize and minify the CSS.

If you don't want this behaviour, and you only want to optimize, then you can use:

{
  optimize: {
    minify: false
  }
}

If you don't want to minify, but you do want to optimize, then you can
use `{ optimize: { minify: false} }` instead.
@RobinMalfait RobinMalfait merged commit b7dd979 into next Mar 11, 2024
@RobinMalfait RobinMalfait deleted the fix/postcss-optimize-should-minize branch March 11, 2024 17:29
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.

3 participants