Answer the question
In order to leave comments, you need to log in
Why is PostCSS needed if there is Gulp and its plugins?
The information on the web is very vague. The very first argument in many - without PostCSS you need mixins with prefixes, or you will even write prefixes manually. It is also mentioned that PostCSS is great at minifying css.
But after all, these and many other tasks can be easily done with the help of Gulp plugins, of which there are hundreds for every taste.
What then is the beauty and advantage of PostCSS?
What can PostCSS do that Gulp can't?
Answer the question
In order to leave comments, you need to log in
It's not that it's better or something...
PostCSS is a little bit about something else.
It provides an API for working with the CSS it receives as input. And PostCSS plugins use this interface to customize/modify/whatever-your-plugin-does.
Those. this is another tool for working with styles.
You can use it with gulp, you can use it instead of gulp.
Use it the way you want.
Gulp only provides general tools for building a package. Gulp's CSS tools are far inferior to what PostCSS offers.
PostCSS, through a large number of plugins , provides tools specifically for handling CSS. PostCSS parses the CSS file passed to it, creating a virtual structure in memory for the described styles. This provides more options for their processing.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question