Skip to content

Commit

Permalink
ADD: Added fonts to gulp
Browse files Browse the repository at this point in the history
  • Loading branch information
Mykhailo Chernov committed May 1, 2022
1 parent 03fcb01 commit 94eb2c4
Show file tree
Hide file tree
Showing 5 changed files with 369 additions and 437 deletions.
7 changes: 6 additions & 1 deletion gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,10 @@ gulp.task('images', function () {
return gulp.src('src/img/*').pipe(gulp.dest('build/img'));
});

gulp.task('fonts', function () {
return gulp.src('src/fonts/*').pipe(gulp.dest('build/fonts'));
});

gulp.task('img-compress', async function () {
return await compress_images(
'src/**/*.{jpg,JPG,jpeg,JPEG,png,svg,gif}',
Expand Down Expand Up @@ -132,7 +136,8 @@ gulp.task(
gulp.series(
'clean',
gulp.parallel('html', 'lint-css', 'styles', 'min-js'),
'images'
'images',
'fonts'
)
);

Expand Down
Loading

0 comments on commit 94eb2c4

Please sign in to comment.