seba:minifiers-autoprefixer

v2.0.1Published 4 years ago

This package has not had recent updates. Please investigate it's current state before committing to using it in your project.

Standard Minifier for CSS + autoprefixing

This package provides a minifier plugin used for Meteor apps by default and adds autoprefixing to it.

The CSS minifier mostly reduces amount of white-space parsing CSS with ParseCSS.

For Meteor 1.2 use version 0.0.2, you will need to remove the standard-minifiers package.

For Meteor 1.3+ use version 1.1.1 You will need to remove the standard-minifier-css package, but leave the standard-minifier-js package.

For Meteor 1.9+ use version 2.0.0 You will need to remove the standard-minifier-css package, but leave the standard-minifier-js package.

Configuration

You can set the autoprefix configuration by creating a postcss.json file in the root folder of your app. Example:

1{
2    "autoprefixer" : { "browsers": ["last 2 versions"] }
3}