Skip to content

Commit

Permalink
Do not use encoding for fonts (#6977)
Browse files Browse the repository at this point in the history
  • Loading branch information
KOliver94 authored Aug 3, 2024
1 parent eef0068 commit bc02f94
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@ gulp.task('build-themes', function () {
);
});

gulp.task('copy-fonts', function () {
return gulp.src(['public/themes/**/fonts/*'], { encoding: false }).pipe(gulp.dest(process.env.OUTPUT_DIR + 'resources/themes'));
});

/** @deprecated */
gulp.task('images', function () {
return gulp
Expand Down Expand Up @@ -77,4 +81,4 @@ gulp.task('copy-package.json', function () {

//Building project with run sequence
gulp.task('copy-files', gulp.series('copy-d.ts', 'copy-package.json'));
gulp.task('build-resources', gulp.series('build-primereactcss', 'images', 'build-themes', 'build-meta', 'copy-files'));
gulp.task('build-resources', gulp.series('build-primereactcss', 'images', 'build-themes', 'copy-fonts', 'build-meta', 'copy-files'));

0 comments on commit bc02f94

Please sign in to comment.