Skip to content Skip to sidebar Skip to footer

Node/Grunt - Autoprefixer - How To Add Configuration To My Gruntfile.js & How To Check Supported Browsers?

I want to start using the CSS post-processor called autoprefixer (https://github.com/ai/autoprefixer). After a bit of juggling things around I actually got this working which is qu

Solution 1:

You need to global install autoprefixer to has autoprefixer command:

sudo npm install -g autoprefixer
autoprefixer -i

Solution 2:

Now you can use Autoprefixer binary from the project folder without globally installed Autoprefixer (don't forget to update grunt-autoprefixer to v0.4.1).

Here you can find browsers option description. Options can be target- or task-specific, and target-specific options can override task-specific.


Post a Comment for "Node/Grunt - Autoprefixer - How To Add Configuration To My Gruntfile.js & How To Check Supported Browsers?"