brunch / postcss-brunch

Adds PostCSS support to brunch
MIT License
53 stars 31 forks source link

csswring example is likely wrong #26

Closed rstacruz closed 7 years ago

rstacruz commented 7 years ago

From the readme:

  postcss: {
    processors: [
      require('autoprefixer')(['last 8 versions']),
      require('csswring') // <--
    ]
  }
}

I think that needs to be:

require('csswring')()

The documentation for csswring says it's used that way, and most PostCSS plugins are invoked in the same manner.

paulmillr commented 7 years ago

Fixed!