stc-css-autoprefixer

1.0.0 • Public • Published

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.

Readme

Keywords

Package Sidebar

Install

npm i stc-css-autoprefixer

Weekly Downloads

4

Version

1.0.0

License

none

Last publish

Collaborators

  • alphatr