postcss-brunch

Adds PostCSS support to brunch.

postcss-brunch

Adds PostCSS support to brunch

##Install

`npm install --save postcss-brunch`.

##Add plugins

Add all plugins you want to use with PostCSS in your package.json file too. For example, here we add Autoprefixer and CSS Wring.

{
    "postcss-brunch": "^0.4.x",
    "autoprefixer": "^5.1.0",
    "csswring": "^3.0.0"
}

Or, use npm install --save-dev <plugin> to get latest version in package.json.

Then, configure postcss-brunch in the plugins section of your brunch-config file, like so:

    plugins:
        postcss:
            processors: [
                require('autoprefixer')(['last 8 versions']),
                require('csswring')
            ]

You can add as many processors as you want. CSS will be parsed only once. See PostCSS and each plugins docs.

MIT