brunch / postcss-brunch

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

How use Autoprefixer with SCSS file? #41

Closed mrpierrot closed 7 years ago

mrpierrot commented 7 years ago

Hi,

I want to prefix scss file with autoprefixer. But, it's not working. I find this https://github.com/postcss/postcss-scss who necessary for prefixing scss file, but I don't know who use it in brunch config.

Could you help me, please?

Thanks

denysdovhan commented 7 years ago

Hi, @mrpierrot! Thanks for your question.

You can't do that at the moment, because plugin's options aren't being passed to the PostCSS directly. My PR #42 introduce that feature.

@shvaikalesh, please check. I'm not sure about implementation. I know you've planed to rewrite this plugin, so probably this PR isn't needed.

mrpierrot commented 7 years ago

Hi @denysdovhan ! Thank you for your response. :-) I'd watch that!

iamvdo commented 7 years ago

@mrpierrot: You could also test https://github.com/iamvdo/pleeease-brunch package, which is a ready-to-go plugin. Maybe a bit old, but it used to work.

mrpierrot commented 7 years ago

@iamvdo Thank you, I will test this!

jfilter commented 7 years ago

Yes, it works with https://github.com/iamvdo/pleeease-brunch.