Open pedzed opened 8 years ago
var gulp = require('gulp'),
sass = require('gulp-ruby-sass'),
autoprefixer = require('gulp-autoprefixer');
gulp.task('styles', function() {
return sass('assets/css/styles.sass', { style: 'compressed' })
.pipe(autoprefixer({
browsers: ['last 5 versions'],
cascade: false
}));
});
The current situation is that you have to manually add prefixes like
-moz
and-webkit
. It would be nice to get the prefixes automatically when preprocessing with Gulp.