A
A
artekha2016-06-30 15:36:58
css
artekha, 2016-06-30 15:36:58

Gulp-autoprefixer not working?

autoprefixer treats the comment as an error. How to fix it?f28a456128274ceeaba256da1525dc0e.png3c4f9076daef4b3eba5887a29cfa9118.png

Answer the question

In order to leave comments, you need to log in

3 answer(s)
D
Dmitry Kravchenko, 2016-06-30
@mydearfriend

first compile sass then add prefixes

A
ArturArturov, 2016-06-30
@ArturArturov

try /* */

K
Konstantin Velichko, 2016-07-01
@Zoxon

You
must have

.pipe(prefixer({
  browsers: ['last 2 versions'],
  cascade: false
}))

https://www.npmjs.com/package/gulp-autoprefixer
Either use browserslist file , example

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question