M
M
maldunekb2017-09-14 13:39:03
css
maldunekb, 2017-09-14 13:39:03

How to teach autoprefixer not to write display: -webkit-box for display: flex?

How to teach autoprefixer not to write display: -webkit-box for display: flex?
version: "gulp-autoprefixer": "^4.0.0",
current code

gulp.task('sass', function(){ // Создаем таск Sass
  return gulp.src('app/sass/**/*.sass') // Берем источник
    .pipe(sass()) // Преобразуем Sass в CSS посредством gulp-sass
    .pipe(autoprefixer(['last 15 versions', '> 5%', 'safari 8', 'not ie <= 8', 'opera 12.1', 'ios 7', 'android 4'], { cascade: true })) // Создаем префиксы
    .pipe(gulp.dest('app/css')) // Выгружаем результата в папку app/css
    .pipe(browserSync.reload({stream: true})) // Обновляем CSS на странице при изменении
});

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Ankhena, 2017-09-14
@Ankhena

> 8%, safari 8, not ie <= 8, opera 12.1, ios 7
get rid of 4 android

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question