3 ms·
This is neat, but you're removing any ability to customize each of the sub-modules you're using. Something like how PreCSS does it would be helpful: https://git
by timdorr 11y ago
This is neat, but you're removing any ability to customize each of the sub-modules you're using. Something like how PreCSS does it would be helpful: https://github.com/jonathantneal/precss/blob/master/index.js#L49-L64 https://github.com/jonathantneal/precss/blob/master/index.js...
- seaneking 11y agoYeah we're thinking of enabling users to pass through option blocks to the individual plugins (like how precss and cssnext does things), the problem is that not all features match 1:1 with plugins. Legacy Fallbacks, for instance, is a sub-collection of 5 plugins, and passing a nested object to each of these would be awkward. Also most of the plugins used (and all of the ones I built for it) are pretty straightforward and don't take any options. But feel free to chuck an issue up on github, this behaviour probably needs to be accounted for sooner or later.