Skip to content

API update

Compare
Choose a tag to compare
@mightyaleksey mightyaleksey released this 05 Oct 19:47
· 156 commits to master since this release

Featuring new options:

  • append array — adds new plugins to the end of the PostCSS pipeline.
  • prepend array — adds new plugins to the beginning of the PostCSS pipeline.

So now, you don't need to use the use option to setup the whole list of plugins. Try to use append or prepend options which extend the list of the core plugins with the new ones.
So you may use aliases for the core plugins (like generateScopedName) and provide additional plugins with the append and prepend options simultaneously.

Also added few basic examples of usage to the readme. Enjoy