Skip to content
This repository has been archived by the owner on Aug 26, 2022. It is now read-only.

Commit

Permalink
Update Gulpfile to copy fonts over to dist/
Browse files Browse the repository at this point in the history
Update the existing `copy` task, to include moving the fonts directory from `src/` to `dist/` (and closes minamarkham#11).
  • Loading branch information
ishanAhuja committed Feb 25, 2018
1 parent aef3e78 commit ed51588
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,12 @@ gulp.task('copy', function() {
.pipe(gulp.dest(bases.dist))
.pipe(reload({stream:true}));

// copy fonts to dist directly
gulp.src([bases.app + 'fonts/*'])
.pipe(size({ gzip: true, showFiles: true }))
.pipe(gulp.dest(bases.dist + 'fonts/'))
.pipe(reload({stream:true}));

});

gulp.task('sass-lint', function() {
Expand Down

0 comments on commit ed51588

Please sign in to comment.