Skip to content

Commit ce0533f

Browse files
committed
fix(gulp): always use {bootstrap,font-awesome}
1 parent b152a77 commit ce0533f

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

Diff for: templates/app/gulpfile.babel(gulp).js

+2-6
Original file line numberDiff line numberDiff line change
@@ -609,16 +609,12 @@ function flatten() {
609609
});
610610
}
611611
gulp.task('copy:fonts:dev', () => {
612-
<%_ if(filters.bootstrap) { _%>
613-
return gulp.src('node_modules/{bootstrap,font-awesome}/fonts/*')<% } else { %>
614-
return gulp.src('node_modules/font-awesome/fonts/*')<% } %>
612+
return gulp.src('node_modules/{bootstrap,font-awesome}/fonts/*')
615613
.pipe(flatten())
616614
.pipe(gulp.dest(`${clientPath}/assets/fonts`));
617615
});
618616
gulp.task('copy:fonts:dist', () => {
619-
<%_ if(filters.bootstrap) { _%>
620-
return gulp.src('node_modules/{bootstrap,font-awesome}/fonts/*')<% } else { %>
621-
return gulp.src('node_modules/font-awesome/fonts/*')<% } %>
617+
return gulp.src('node_modules/{bootstrap,font-awesome}/fonts/*')
622618
.pipe(flatten())
623619
.pipe(gulp.dest(`${paths.dist}/${clientPath}/assets/fonts`));
624620
});

0 commit comments

Comments
 (0)