citra-emu
/
citra-web
Archived
1
0
Fork 0

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
1 changed files with 0 additions and 12 deletions

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