Fixing runtime errors with gulpfile.
This commit is contained in:
parent
cc9a2ca84b
commit
05125dc26c
|
@ -57,10 +57,10 @@ gulp.task('images', ['hugo'], () => (
|
||||||
.pipe(gulp.dest('./')),
|
.pipe(gulp.dest('./')),
|
||||||
gulp.src(`${distPath}/images/banners/*`, {base: './'})
|
gulp.src(`${distPath}/images/banners/*`, {base: './'})
|
||||||
.pipe(jimp({ sizes: [{"width": 824, "height": 306 }] }))
|
.pipe(jimp({ sizes: [{"width": 824, "height": 306 }] }))
|
||||||
.pipe(gulp.dest('./'))
|
.pipe(gulp.dest('./')),
|
||||||
gulp.src(`${distPath}/images/game/boxart/*`, {base: './'})
|
gulp.src(`${distPath}/images/game/boxart/*`, {base: './'})
|
||||||
.pipe(jimp({ sizes: [{"width": 328, "height": 300 }] }))
|
.pipe(jimp({ sizes: [{"width": 328, "height": 300 }] }))
|
||||||
.pipe(gulp.dest('./'))
|
.pipe(gulp.dest('./')),
|
||||||
gulp.src(`${distPath}/images/game/icons/*`, {base: './'})
|
gulp.src(`${distPath}/images/game/icons/*`, {base: './'})
|
||||||
.pipe(jimp({ sizes: [{"width": 48, "height": 48 }] }))
|
.pipe(jimp({ sizes: [{"width": 48, "height": 48 }] }))
|
||||||
.pipe(gulp.dest('./'))
|
.pipe(gulp.dest('./'))
|
||||||
|
|
Reference in New Issue