Closed ndorfin closed 5 years ago
Google analytics shows we have a few IE 8 visitors - not sure the saving in CSS size is worth making their experience completely unworkable
Woah! Would you mind giving me read-only access to GA? (ndorfin@gmail.com) Would love to learn more about those users - maybe they're bots or behind the Great Firewall?
Whatever the situation, I'd recommend a tweaking of PostCSS output then. If we include IE8, it might be better than default.
By setting the
browsers
key in thepostcss-cssnext
options, we can cut down a fifth of the output CSS, because the browserList defaults provide fallbacks for IE8.e.g. when in default mode:
…after this change to:
>5%, ie 11, last 2 versions
, it becomes:rem
s have great support, even down to IE 9.PostCSS seems pretty cool! I should use it more often :)