Grails plugin for autoprefixing assets
Requires asset-pipeline plugin!
This plugin is an addition to the asset-pipeline plugin created by @bertramdev.
It uses https://github.com/postcss/autoprefixer-core to autoprefix css and less files for the configured browsers.
Add
mavenRepo "https://raw.github.com/uberall/uberall-plugins/mvn-repo"
to your repositories and
compile ":asset-autoprefixer:1.1.3"
to your plugins in BuildConfig.groovy.
You must also have asset-pipeline installed in your app with a version greater than 2.0
You can define which browsers to prefix for by overriding the default value in your Config.groovy
grails.assets.autoprefixer.browsers = ['last 2 versions', 'Firefox ESR', '> 5%', 'ie 10','ie 9'] // default value