Skip to content

Commit 26bc2fe

Browse files
committed
Fix corrupted font files bug (see gulpjs/gulp#2790)
1 parent e23de49 commit 26bc2fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gulpfile.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ function processSvgImages() {
4141

4242
// Копирование WOFF2 шрифтов
4343
function processFonts() {
44-
return src('src/fonts/*.woff2')
44+
return src('src/fonts/*.woff2', { encoding: false }) // https://github.com/gulpjs/gulp/issues/2790
4545
.pipe(dest('dist/fonts'))
4646
.pipe(browserSync.stream());
4747
}

0 commit comments

Comments
 (0)