From a89283df321a7a12205a1abd7b1715e0d981d366 Mon Sep 17 00:00:00 2001 From: Kalen Johnson Date: Fri, 31 Oct 2014 11:21:57 -0700 Subject: [PATCH] CSS must be minified before saving it to dist --- gulpfile.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gulpfile.js b/gulpfile.js index a602101..bc195c4 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -43,8 +43,8 @@ gulp.task('less:build', function() { }) .pipe($.autoprefixer('last 2 versions', 'ie 9', 'android 2.3', 'android 4', 'opera 12')) .pipe($.rename('./main.min.css')) - .pipe(gulp.dest('assets/dist/css')) - .pipe($.minifyCss()); + .pipe($.minifyCss()) + .pipe(gulp.dest('assets/dist/css')); }); gulp.task('jshint', function() {