Skip to content

Commit

Permalink
fix(gulp): always use {bootstrap,font-awesome}
Browse files Browse the repository at this point in the history
  • Loading branch information
Awk34 committed Jun 16, 2016
1 parent b152a77 commit ce0533f
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions templates/app/gulpfile.babel(gulp).js
Original file line number Diff line number Diff line change
Expand Up @@ -609,16 +609,12 @@ function flatten() {
});
}
gulp.task('copy:fonts:dev', () => {
<%_ if(filters.bootstrap) { _%>
return gulp.src('node_modules/{bootstrap,font-awesome}/fonts/*')<% } else { %>
return gulp.src('node_modules/font-awesome/fonts/*')<% } %>
return gulp.src('node_modules/{bootstrap,font-awesome}/fonts/*')
.pipe(flatten())
.pipe(gulp.dest(`${clientPath}/assets/fonts`));
});
gulp.task('copy:fonts:dist', () => {
<%_ if(filters.bootstrap) { _%>
return gulp.src('node_modules/{bootstrap,font-awesome}/fonts/*')<% } else { %>
return gulp.src('node_modules/font-awesome/fonts/*')<% } %>
return gulp.src('node_modules/{bootstrap,font-awesome}/fonts/*')
.pipe(flatten())
.pipe(gulp.dest(`${paths.dist}/${clientPath}/assets/fonts`));
});
Expand Down

0 comments on commit ce0533f

Please sign in to comment.