From 0c6bb240ec352a556d785cc17e470a5637d79909 Mon Sep 17 00:00:00 2001 From: Andy Joslin Date: Thu, 27 Mar 2014 08:22:35 -0600 Subject: [PATCH] chore(build): remove double banner from css file Closes #899 --- gulpfile.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/gulpfile.js b/gulpfile.js index 995d3aa835..f88b195134 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -238,11 +238,8 @@ gulp.task('sass', function(done) { .pipe(concat('ionic.css')) .pipe(header(banner)) .pipe(gulp.dest(buildConfig.distCss)) - .pipe(gulpif(IS_RELEASE_BUILD, minifyCss({ - keepSpecialComments: 0 - }))) + .pipe(gulpif(IS_RELEASE_BUILD, minifyCss())) .pipe(rename({ extname: '.min.css' })) - .pipe(header(banner)) .pipe(gulp.dest(buildConfig.distCss)) .on('end', done); });