Commit c4eb4fda2b97aaef989d0ae43b75bd3ccd1c2638
1 parent
773c5c47
Exists in
master
and in
8 other branches
Config autoprefix to old browsers
Showing
1 changed file
with
4 additions
and
1 deletions
Show diff stats
gulp/styles.js
... | ... | @@ -39,7 +39,10 @@ gulp.task('styles', function () { |
39 | 39 | .pipe(wiredep(_.extend({}, conf.wiredep))) |
40 | 40 | .pipe($.sourcemaps.init()) |
41 | 41 | .pipe($.sass(sassOptions)).on('error', conf.errorHandler('Sass')) |
42 | - .pipe($.autoprefixer()).on('error', conf.errorHandler('Autoprefixer')) | |
42 | + .pipe($.autoprefixer({ | |
43 | + browsers: ['last 3 versions', 'ie >= 9', 'ff > 20', 'Chrome > 30', 'Android', 'Edge', 'Opera', 'Safari', 'iOS'], | |
44 | + cascade: false | |
45 | + })).on('error', conf.errorHandler('Autoprefixer')) | |
43 | 46 | .pipe($.sourcemaps.write()) |
44 | 47 | .pipe(gulp.dest(path.join(conf.paths.tmp, '/serve/app/'))) |
45 | 48 | .pipe(browserSync.reload({ stream: true })); | ... | ... |