function fonts(done) {
    if (PATHS.fonts && PATHS.fonts.length > 0){
    return gulp.src(PATHS.fonts)
      .pipe($.filter('**/*.{eot,svg,ttf,woff,woff2}'))
      .pipe($.flatten())
      .pipe(gulp.dest(PATHS.dist + '/fonts/'));
    }else {
      done();
    }

}
// Custom fonts are handled by the "other" task
Custom fonts are handled by the "other" task
Custom fonts are handled by the " other " task
function fonts(done) {
    if (PATHS.fonts && PATHS.fonts.length > 0){
    return gulp.src(PATHS.fonts)
      .pipe($.filter('**/*.{eot,svg,ttf,woff,woff2}'))
      .pipe($.flatten())
      .pipe(gulp.dest(PATHS.dist + '/fonts/'));
    }else {
      done();
    }
}
function fonts ( done ) { if ( PATHS . fonts && PATHS . fonts . length > 0 ) { return gulp . src ( PATHS . fonts ) . pipe ( $ . filter ( '**/*.{eot,svg,ttf,woff,woff2}' ) ) . pipe ( $ . flatten ( ) ) . pipe ( gulp . dest ( PATHS . dist + '/fonts/' ) ) ; } else { done ( ) ; } }
Custom fonts are handled by the "other" task
Custom fonts are handled by the " other " task