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

Package detail

stc-postcss

lizheming32MIT1.0.4

stcjs postcss plugin

stc, plugin, postcss

readme

stc-postcss

stcjs postcss plugin

Install

npm install stc-postcss --save-dev

How to Use

in stc.config.js file, add:

const postcss = require('stc-postcss');

stc.transpile({ postcss: { plugin: postcss, include: /.css$/, options: { plugins: [ require('autoprefixer'), require('postcss-nested') ] } } });

More options

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