Skip to content

Commit

Permalink
Remove gulp encoding to prevent corruption
Browse files Browse the repository at this point in the history
  • Loading branch information
thisisdano committed Oct 28, 2024
1 parent 814ceae commit d527415
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,9 @@ const WEBFONTS_SRC = "./fonts/webfonts";
const WEBFONTS_DEST = "./site/assets/fonts";

function copyWebfonts() {
return src(`${WEBFONTS_SRC}/**/**`)
.pipe(dest(WEBFONTS_DEST));
return src(`${WEBFONTS_SRC}/**/**`, {
encoding: false,
}).pipe(dest(WEBFONTS_DEST));
}

function watchWebfonts() {
Expand Down

0 comments on commit d527415

Please sign in to comment.