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.
Versions
Current Tags
- VersionDownloads (Last 7 Days)
- 1.0.0
4
Version History
- VersionDownloads (Last 7 Days)
- 1.0.0
4
Package Sidebar
Install
npm i stc-css-autoprefixer
Weekly Downloads