Answer the question
In order to leave comments, you need to log in
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
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question