From c9ad3320579dfba7add047d6905819d9c050164b Mon Sep 17 00:00:00 2001 From: Denny Biasiolli Date: Tue, 22 Oct 2024 23:07:34 +0200 Subject: [PATCH] gulp package: fixing encoding after updating to gulp 5 Took inspiration from this issue: https://github.com/sindresorhus/gulp-zip/issues/123 --- gulpfile.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gulpfile.js b/gulpfile.js index 99baefcf1fa..6b0adcc2774 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -288,7 +288,7 @@ gulp.task('package', gulp.series(async () => { if (fs.existsSync('./images')) dirs.push('./images/**'); if (fs.existsSync('./slides')) dirs.push('./slides/**'); - return gulp.src( dirs, { base: './' } ) + return gulp.src( dirs, { base: './', encoding: false } ) .pipe(zip('reveal-js-presentation.zip')).pipe(gulp.dest('./')) }))