From cc9a2ca84b822f024ff7fcb39ca32b5979bd594c Mon Sep 17 00:00:00 2001 From: chris062689 Date: Sun, 4 Jun 2017 14:28:06 -0400 Subject: [PATCH] Added resizing images for boxart and icons in gulpfile. --- gulpfile.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/gulpfile.js b/gulpfile.js index 5bc473d..554f4ac 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -58,6 +58,12 @@ gulp.task('images', ['hugo'], () => ( gulp.src(`${distPath}/images/banners/*`, {base: './'}) .pipe(jimp({ sizes: [{"width": 824, "height": 306 }] })) .pipe(gulp.dest('./')) + gulp.src(`${distPath}/images/game/boxart/*`, {base: './'}) + .pipe(jimp({ sizes: [{"width": 328, "height": 300 }] })) + .pipe(gulp.dest('./')) + gulp.src(`${distPath}/images/game/icons/*`, {base: './'}) + .pipe(jimp({ sizes: [{"width": 48, "height": 48 }] })) + .pipe(gulp.dest('./')) )); gulp.task('html', ['hugo', 'css', 'images'], () => (