mirror of
https://github.com/hakimel/reveal.js.git
synced 2025-08-01 20:30:29 +02:00
Merge pull request #3701 from dennybiasiolli/fixing-gulp-package
gulp package: fixing encoding before piping to zip
This commit is contained in:
@@ -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('./'))
|
||||
|
||||
}))
|
||||
|
Reference in New Issue
Block a user