Skip to content

Commit d527415

Browse files
committed
Remove gulp encoding to prevent corruption
1 parent 814ceae commit d527415

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

gulpfile.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,9 @@ const WEBFONTS_SRC = "./fonts/webfonts";
1313
const WEBFONTS_DEST = "./site/assets/fonts";
1414

1515
function copyWebfonts() {
16-
return src(`${WEBFONTS_SRC}/**/**`)
17-
.pipe(dest(WEBFONTS_DEST));
16+
return src(`${WEBFONTS_SRC}/**/**`, {
17+
encoding: false,
18+
}).pipe(dest(WEBFONTS_DEST));
1819
}
1920

2021
function watchWebfonts() {

0 commit comments

Comments
 (0)