N
N
Nikolai2018-07-10 15:32:26
gulp.js
Nikolai, 2018-07-10 15:32:26

Gulp-autoprefixer and PostCSS Autoprefixer what is the difference?

Now I use Gulp-autoprefixer, but there is also PostCSS with Autoprefixer plugin, what is their difference? What to use?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
I
Igor Zabrodin, 2018-07-10
@nikolay_akhmetyanov

Nothing under the hood. gulp-autoprefixer uses postcss and autoprefixer, except that gulp-autoprefixer has slightly older versions of them. Those. this is such a wrapper over postcss specifically for gulp.
The code

B
badin, 2021-02-05
@badin

The gulp-autoprefixer doc says that if you already use some plugins based on PostCSS and want to use autoprefixer, it’s more profitable to take the gulp-postcss plugin - the build will work faster.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question