Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 49083

Autoprefixer ignored

$
0
0

@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

Read full topic


Viewing all articles
Browse latest Browse all 49083

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>