mirror of
https://github.com/hakimel/reveal.js.git
synced 2025-04-20 04:21:58 +02:00
gulp package: fixing encoding after updating to gulp 5
Took inspiration from this issue: https://github.com/sindresorhus/gulp-zip/issues/123
This commit is contained in:
parent
16ac4b0067
commit
c9ad332057
@ -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('./'))
|
||||
|
||||
}))
|
||||
|
Loading…
x
Reference in New Issue
Block a user