From 31d25b1a844407dfec957a095a217af21cdb9bc3 Mon Sep 17 00:00:00 2001 From: Riku Rouvila Date: Tue, 22 Apr 2014 13:00:16 +0300 Subject: [PATCH] fix css minification --- gulpfile.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gulpfile.coffee b/gulpfile.coffee index 40d1bbd..b1f04d1 100644 --- a/gulpfile.coffee +++ b/gulpfile.coffee @@ -63,7 +63,7 @@ gulp.task 'styles', -> .pipe(stylus({set: ['include css']})) .pipe(prefix("last 1 version", "> 1%", "ie 8")) - styles.pipe(CSSmin()) if production + styles = styles.pipe(CSSmin()) if production styles.pipe gulp.dest paths.styles.destination .pipe livereload reloadServer