From 7c7970fac678d2248b7a47f937a49265b8a9eeaf Mon Sep 17 00:00:00 2001 From: Shupeyko Nikita Date: Thu, 16 Mar 2017 18:06:09 +0300 Subject: [PATCH] Fix autoprefixer options in gulp styles task (#1081) Fix `'last 2 version'` -> `'last 2 versions'` (https://www.npmjs.com/package/gulp-autoprefixer#usage) --- {{cookiecutter.project_slug}}/gulpfile.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/{{cookiecutter.project_slug}}/gulpfile.js b/{{cookiecutter.project_slug}}/gulpfile.js index 4f89a771..69ff0aaa 100644 --- a/{{cookiecutter.project_slug}}/gulpfile.js +++ b/{{cookiecutter.project_slug}}/gulpfile.js @@ -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' }))