Skip to content

Latest commit

 

History

History
33 lines (25 loc) · 456 Bytes

README.md

File metadata and controls

33 lines (25 loc) · 456 Bytes

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.