Fix autoprefixer options in gulp styles task (#1081)

Fix `'last 2 version'` -> `'last 2 versions'` (https://www.npmjs.com/package/gulp-autoprefixer#usage)
This commit is contained in:
Shupeyko Nikita 2017-03-16 18:06:09 +03:00 committed by Daniel Roy Greenfeld
parent 4156a99b6a
commit 7c7970fac6

View File

@ -48,7 +48,7 @@ gulp.task('styles', function() {
return gulp.src(paths.sass + '/project.scss')
.pipe(sass().on('error', sass.logError))
.pipe(plumber()) // Checks for errors
.pipe(autoprefixer({browsers: ['last 2 version']})) // Adds vendor prefixes
.pipe(autoprefixer({browsers: ['last 2 versions']})) // Adds vendor prefixes
.pipe(pixrem()) // add fallbacks for rem units
.pipe(gulp.dest(paths.css))
.pipe(rename({ suffix: '.min' }))