Answer the question
In order to leave comments, you need to log in
How to make support for multiple browsers? I only managed to do -webkit-, what to do with ie, Mozilla ??
var gulp = require('gulp'),
concatCSS = require('gulp-concat-css'),
rename = require('gulp-rename'),
prefix = require('gulp-autoprefixer'),
minifyCSS = require('gulp-minify-css');
gulp.task('default', function() {
gulp.src('stylus/*.css')
.pipe(minifyCSS())
.pipe(prefix('last 3 versions', '>5%', 'ie9'))
.pipe(concatCSS("bundle.css"))
.pipe(rename('bundle.min.css'))
.pipe(gulp.dest('app/css/'));
});
gulp.task('watch', function() {
gulp.watch('stylus/*.css', ['default'])
})
Answer the question
In order to leave comments, you need to log in
as I have a working version
.pipe(autoprefixer({
browsers: ['last 2 versions'],
cascade: false
}))
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question