diff --git a/gulpfile.js b/gulpfile.js index 25893b4b..ae1f91f6 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -22,6 +22,9 @@ app.css = function (paths, filename) { .pipe(plugins.sourcemaps.init()) .pipe(plugins.sassGlob()) .pipe(plugins.sass()) + .pipe(plugins.autoprefixer({ + browsers: ['last 2 versions'] + })) .pipe(plugins.concat(filename)) .pipe(config.production ? plugins.cleanCss() : plugins.util.noop()) .pipe(plugins.if(config.sourceMaps, plugins.sourcemaps.write('.'))) diff --git a/package.json b/package.json index 04c55e27..d02b8956 100644 --- a/package.json +++ b/package.json @@ -4,6 +4,7 @@ "coffee-script": "^1.10.0", "del": "^2.2.0", "gulp": "^3.9.0", + "gulp-autoprefixer": "^3.1.0", "gulp-clean": "^0.3.1", "gulp-clean-css": "^2.0.4", "gulp-concat": "^2.6.0",