Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

stc-css-autoprefixer

stcjs271.0.0

stcjs plugin to add vendor prefixes to CSS rules

stcjs, css, autoprefixer

readme

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.