PatrikLythell / sigh-postcss

PostCSS plugin for Sigh build system
0 stars 1 forks source link

sigh-postcss

Circle CI

Sigh plugin for postcss. Use in your Sigh.js pipelines and send in whatever postcss-plugins you like.

Does NOT run in the Sigh process pool because of plugin injection functionality.

Example

npm install --save-dev sigh-postcss then add something like this to your sigh.js:

    pipeline.js = [
        glob({ basePath: 'src' }, '**/*.css'),
        postcss( [require('postcss-simple-vars')] ), // add plugins as array
        write('build/assets')
    ]