-
Notifications
You must be signed in to change notification settings - Fork 579
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
Group <style> tags? #1126
Comments
This would only be possible for consecutive style tags (ie EXACTLY |
Yes, this is exactly what I want. Here's an actual example of the minified code from my website:
You can find it here: https://maxim.mazurok.com/blog/typescript-excess-property-checks |
One could argue that it's unreasonable to have two style tags with nothing in between them. But then you can say the same about using spaces. <style>
{{ css|safe }}
</style>
<style>
code {
display: inline-block; Now I realize that I can do <style>
{{ css|safe }}
code {
display: inline-block; and I'll probably do it now, but it would've been nice if minified did it for me. Same as I don't want to be manually removing unnecessary whitespaces, etc. |
I see, thanks for the clarification. I suppose it can't hurt! |
I have this:
And I get this:
But I expect this:
Or, at least this:
Would be really helpful, couldn't find any flag here or in clean-css... thanks!
The text was updated successfully, but these errors were encountered: