From d18e6b5e60dece089d3a965874aa4867be42d734 Mon Sep 17 00:00:00 2001 From: bunnei Date: Wed, 3 May 2017 21:56:26 -0400 Subject: [PATCH] Disable image compression Because it doesn't look nice :( --- gulpfile.js | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/gulpfile.js b/gulpfile.js index e8dd223..5de0d62 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -63,24 +63,12 @@ gulp.task("css", ['hugo'], () => ( gulp.task('images', ['hugo'], () => ( gulp.src(`${distPath}/images/*`, {base: './'}) - .pipe(image({ - mozjpeg: false, - jpegoptim: false - })) .pipe(gulp.dest('./')), gulp.src(`${distPath}/images/jumbotron/*`, {base: './'}) .pipe(jimp({ sizes: [{"width": 786, "height": 471 }] })) - .pipe(image({ - mozjpeg: false, - jpegoptim: false - })) .pipe(gulp.dest('./')), gulp.src(`${distPath}/images/banners/*`, {base: './'}) .pipe(jimp({ sizes: [{"width": 824, "height": 306 }] })) - .pipe(image({ - mozjpeg: false, - jpegoptim: false - })) .pipe(gulp.dest('./')) ));