From 71a6472793364e6cc28c255f910e8ba84e9e526a Mon Sep 17 00:00:00 2001 From: Austin Pray Date: Mon, 30 Mar 2015 20:12:47 -0500 Subject: [PATCH] Removes gulp-pleeease dependency This gulp plugin was more trouble than it was worth. ref https://github.com/roots/sage/issues/1386 ref https://discourse.roots.io/t/sourcemaps-no-longer-working-as-expected-with-sage-update/3022/1 --- CHANGELOG.md | 2 ++ gulpfile.js | 13 ++++++------- package.json | 6 ++++-- 3 files changed, 12 insertions(+), 9 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4b58aba8d3..53881090ce 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,8 @@ ### HEAD * Update to Bootstrap 3.3.4 * Fix `gulp --production` race condition ([#1398](https://github.com/roots/sage/issues/1398)) +* Removes pleeease dependency in favor of vanilla gulp-autoprefixer and + gulp-minify-css ### 8.1.0: March 13th, 2015 * Move HTML5 Boilerplate's Google Analytics snippet to Soil ([#1382](https://github.com/roots/sage/issues/1382)) diff --git a/gulpfile.js b/gulpfile.js index 017a1a6ab4..00252490b6 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -81,14 +81,13 @@ var cssTasks = function(filename) { })); }) .pipe($.concat, filename) - .pipe($.pleeease, { - autoprefixer: { - browsers: [ - 'last 2 versions', 'ie 8', 'ie 9', 'android 2.3', 'android 4', - 'opera 12' - ] - } + .pipe($.autoprefixer, { + browsers: [ + 'last 2 versions', 'ie 8', 'ie 9', 'android 2.3', 'android 4', + 'opera 12' + ] }) + .pipe($.minifyCss) .pipe(function() { return $.if(enabled.rev, $.rev()); }) diff --git a/package.json b/package.json index 50c13defb8..10a30ff750 100644 --- a/package.json +++ b/package.json @@ -27,7 +27,6 @@ "npm": ">=2.1.5" }, "devDependencies": { - "pleeease": "3.2.0", "asset-builder": "^1.0.2", "browser-sync": "^2.4.0", "del": "^1.1.1", @@ -40,7 +39,6 @@ "gulp-jshint": "^1.9.4", "gulp-less": "^3.0.2", "gulp-load-plugins": "^0.9.0", - "gulp-pleeease": "^1.2.0", "gulp-plumber": "^1.0.0", "gulp-rename": "^1.2.0", "gulp-rev": "^3.0.1", @@ -55,5 +53,9 @@ "traverse": "^0.6.6", "wiredep": "^2.2.2", "yargs": "^3.6.0" + }, + "dependencies": { + "gulp-autoprefixer": "^2.1.0", + "gulp-minify-css": "^1.0.0" } }