1
0
mirror of https://github.com/hakimel/reveal.js.git synced 2025-01-16 21:08:28 +01:00

Merge pull request #3701 from dennybiasiolli/fixing-gulp-package

gulp package: fixing encoding before piping to zip
This commit is contained in:
Hakim El Hattab 2024-10-29 13:21:51 +01:00 committed by GitHub
commit a6417ae747
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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