Disable gulp.src encoding

`encoding: 'utf8'` combined with `removeBOM: true` corrupt
non-text files.
This commit is contained in:
Dmitry Lyzo 2024-04-30 01:49:46 +03:00
parent 81a0654536
commit 8b33f804d1

View File

@ -57,7 +57,7 @@ function searchFonts() {
// Copy unmodified assets // Copy unmodified assets
function copy() { function copy() {
return gulp.src(paths.assets.src) return gulp.src(paths.assets.src, { encoding: false })
.pipe(gulp.dest(paths.assets.dest)); .pipe(gulp.dest(paths.assets.dest));
} }