@christianpugliese wrote:
Hi everyone, any idea why autoprefixer is not working on this? (it's completely ignored)
` var gulp = require('gulp');
...
var autoprefixer = require('gulp-autoprefixer');var paths = {
sass: ['./scss/**/*.scss']
};gulp.task('default', ['sass']);
gulp.task('sass', function(done) {
gulp.src('./scss/ionic.app.scss')
.pipe(sass())
.on('error', sass.logError)
.pipe(gulp.dest('./www/css/'))
.pipe(minifyCss({
keepSpecialComments: 0
}))
.pipe(rename({ extname: '.min.css' }))
.pipe(autoprefixer({
browsers: ['last 2 versions', 'iOS 8'],
flexbox: true,
cascade: false
}))
.pipe(gulp.dest('./www/css/'))
.on('end', done);
});`
Posts: 1
Participants: 1