Skip to content

stcjs/stc-postcss

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

stc postcss plugin

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published