Fly plugin for PostCSS
JavaScript
Latest commit ed0c303 Mar 18, 2016 Jorge Bucaran Merge pull request #8 from lukeed/master
Updates to syntax for Fly 1.0

readme.md

Fly plugin for PostCSS.

npm package

Usage

Check out the documentation to see the available options.

Install

npm install -D fly-postcss

Example

exports.default = function * () {
  yield this
    .source('src/*.css')
    .postcss({
      plugins: [
        require('precss'),
        require('autoprefixer')
      ],
      options: {
        parser: require('postcss-scss'),
        from: 'a.css',
        to: 'a.out.css'
      }
    })
    .target('dist')
}

License

MIT © morishitter et al