Merge pull request #13 from citra-emu/disable-compression

Disable image compression
This commit is contained in:
Christopher J. Gilbert 2017-05-03 22:08:10 -04:00 committed by GitHub
commit 9797189021

View File

@ -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('./'))
));