jescalan / roots

a toolkit for rapid advanced front-end development
http://roots.netlify.com/
Other
1.45k stars 132 forks source link

postcss block not working in app.coffee? #683

Closed i8ramin closed 8 years ago

i8ramin commented 8 years ago

I've been trying to use postcss in my project but it doesn't look like the postcss config block is being read at all. I am able to get most postcss plugins working using poststylus, but just defining them under the postcss config block does nothing. Any tips or docs on making this work?

zspecza commented 8 years ago

Hi @i8ramin

Be sure to check that all of the following is in place:

That should kick Multipass Compilation into gear and get PostCSS working!

janwirth commented 8 years ago

It might make sense to add this to the readme and documentation as an example use of multipass compilation.

jescalan commented 8 years ago

I think that would be great! Would you be willing to submit a PR for this @FranzSkuffka?

janwirth commented 8 years ago

@jenius Confirmed. It's on my todo list now :)

janwirth commented 8 years ago

@i8ramin was also asking for poststylus in specific. I used it for gulp-stylus-pipeline but it did not really improve anything. I do not think poststylus is actually ready yet but it might make sense to integrate it sooner or later.

hhsnopek commented 8 years ago

I've actually used poststylus and it works great for the plugin I was using