You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When minifying css, it would be very nice to collapse such constructs. This will definitely reduce the output file and the problem is related to the minifier, not to the css framework, as it is quite valid css that can (and should) be compressed.
Problem:
When I use some framework to generate styles (tailwind, for example), I can get the following styles as output:
Solution:
It can be seen that the final version should be as follows:
When minifying css, it would be very nice to collapse such constructs. This will definitely reduce the output file and the problem is related to the minifier, not to the css framework, as it is quite valid css that can (and should) be compressed.
[See esbuild try example here]
What do you think about it?
The text was updated successfully, but these errors were encountered: