diff --git a/gulpfile.js b/gulpfile.js index 58f9553..4e51dae 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -19,6 +19,7 @@ var del = require('del'); var cleanCSS = require('gulp-clean-css'); var gulpSequence = require('gulp-sequence'); var replace = require('gulp-replace'); +var autoprefixer = require('gulp-autoprefixer'); // Configuration file to keep your code DRY var cfg = require('./gulpconfig.json'); @@ -87,6 +88,7 @@ gulp.task('sass', function () { } })) .pipe(sass()) + .pipe(autoprefixer('last 2 versions')) .pipe(gulp.dest(paths.css)) .pipe(rename('custom-editor-style.css')) return stream; diff --git a/package.json b/package.json index 9208e6e..e940084 100644 --- a/package.json +++ b/package.json @@ -51,6 +51,7 @@ "merge2": "^1.2.1", "popper.js": "^1.13.0", "run-sequence": "^2.2.1", - "undescores-for-npm": "^1.0.0" + "undescores-for-npm": "^1.0.0", + "gulp-autoprefixer": "^4.1.0" } }