From 5a83f61536c62416be77034cc0e9ec593268cb67 Mon Sep 17 00:00:00 2001 From: Plamen Kostadinov <43339602+pkostadinov90@users.noreply.github.com> Date: Wed, 6 Feb 2019 20:55:49 +0200 Subject: [PATCH] Fix autoprefixer Currently the autoprefixer doesn't work at all. It needs arguments to specify targeted compatibility. --- gulpfile.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gulpfile.js b/gulpfile.js index 01f8d39..1f3bc17 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -54,7 +54,10 @@ gulp.task("sass", function() { .pipe(sassLint.format()) .pipe(sassLint.failOnError()) .pipe(sass().on("error", sass.logError)) - .pipe(autoprefixer()) + .pipe(autoprefixer({ + browsers: ['last 2 versions'], + cascade: false + })) .pipe(sourcemaps.write('./')) .pipe(gulp.dest(paths.destination.css)) .pipe(notify({