1.0.0 • Published 8 years ago

stc-css-autoprefixer v1.0.0

Weekly downloads
7
License
-
Repository
github
Last release
8 years ago

stc-css-autoprefixer

stcjs plugin to add vendor prefixes to CSS rules

Install

npm install stc-css-autoprefixer --save-dev

How to Use

in stc.config.js file, add:

var autoprefix = require('stc-css-autoprefixer');

stc.transpile({
  autoprefix: {plugin: autoprefix, include: /\.css$/, options: {
    {
      browsers: ['> 1%', 'IE 7'],
      cascade: false
    }
  }}
});

More options

See https://github.com/postcss/autoprefixer#options get more options.