Closed giuseppeg closed 7 years ago
So
h1 {
color: red;
}
would output
h1{color:red}
At the moment it produces
h1 {color: red;}
Would love to add this as an option in the rewrite https://github.com/thysultan/stylis.js/tree/master/rewrite
Which supports styled-jsx cascade isolation out of the box as an option
stylis.set({
cascade: false
})
@thysultan exactly! h1{color:red}
.
Which supports styled-jsx cascade isolation out of the box as an option
😍 this is amazing!
Sure, i'll try to explore two routes with further minification ex. basic – whitespace, trailing semi's, and aggressive, – removing duplicate selector blocks.
ok thanks, again it is just a nice to have so nothing to prioritize.
@giuseppeg This landed in V3
This is definitely a nice-to-have (not a big deal) but we could get rid of extra spaces and trailing
;
for smaller footprint.