Skip to content

stcjs/stc-css-autoprefixer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

stcjs plugin to add vendor prefixes to CSS rules

Resources

License

Stars

Watchers

Forks

Packages

No packages published