Skip to content

Commit

Permalink
gulp 5 font bug // tell gulp to disable encoding of font
Browse files Browse the repository at this point in the history
  • Loading branch information
oguilleux committed Jun 12, 2024
1 parent 2ed7ea6 commit e6ce2d8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion gulp/core/recipes/fonts/dev.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ var config = require('../../config/fonts');
*
*/
module.exports = function () {
return gulp.src(config.paths.src)
return gulp.src(config.paths.src, {encoding: false})
.pipe(plumber())

.pipe(gulp.dest(config.paths.dest))
Expand Down
2 changes: 1 addition & 1 deletion gulp/core/recipes/fonts/prod.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ var config = require('../../config/fonts');
*
*/
module.exports = function () {
return gulp.src(config.paths.src)
return gulp.src(config.paths.src, {encoding: false})
.pipe(plumber())

.pipe(gulp.dest(config.paths.dest))
Expand Down

0 comments on commit e6ce2d8

Please sign in to comment.