Closed LaurieSReynolds closed 7 years ago
Looking through the code, it looks like the processor list is currently hard-coded. I have to assume this was a mistake, yes?
I think the readme should be updated, there are zero config options atm
@mstdokumaci could you perhaps do this?
I'm sorry, is the intent here that you can't configure the postcss plugins? If so, I need to find a different transform to use.
Unfortunately we require and use only a few plugins and they are hard coded, we didn't implement it configurable. Sorry for the inconvenience.
Would you accept a PR to implement the configuration stuff?
If you have time to implement it, sure it's all welcome.
In a small test project, I am calling postcssify with the postcss-advanced-variables plugin and it is not getting called. The resulting css still contains the variable definition.
Github test project: https://github.com/LaurieSReynolds/react-browserify-boilerplate
If I hard code the plugin into the postcssify index.js array of processors, the plugin is invoked and the variable is replaced with the correct value.
https://github.com/vigour-io/postcssify/blob/master/lib/index.js
I am using version 2.5.0 of postcssify
How can I correctly specify postcss plugins?