Closed i8ramin closed 8 years ago
Hi @i8ramin
Be sure to check that all of the following is in place:
postcss
in your project via npm install postcss --save
postcss
config block follows the correct syntax - Here's an example:
master.styl
) should have the file extension .css.styl
@import
s of regular CSS files in Stylus using the include css
option:
That should kick Multipass Compilation into gear and get PostCSS working!
It might make sense to add this to the readme and documentation as an example use of multipass compilation.
I think that would be great! Would you be willing to submit a PR for this @FranzSkuffka?
@jenius Confirmed. It's on my todo list now :)
@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.
I've actually used poststylus and it works great for the plugin I was using
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 thepostcss
config block does nothing. Any tips or docs on making this work?