Autoprefixer not working?
-
I needed to use Autoprefixer, since the CSS being output does not have prefixes applied. That is, “display: flex” should have “-webkit-display: flex” as well, etc.
When I looked at ‘css-utils.js’, I see that Autoprefixer is there!
Is there something that I need to do to activate this?
-
I suspect now that it is working, but didn’t do the expected substitutions.
For
display: flex;
it is outputtingdisplay: -webkit-box;
rather thandisplay: -webkit-flex;
-
You don’t need to do anything. It’s working by default. I guess it needs a certain configuration for your use case, because we’re using the default one at the moment.