Skip to content

Commit 09b4f01

Browse files
committed
fix(gulp:inject): prevent 'inject:css' from showing up twice
1 parent fe3db18 commit 09b4f01

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ gulp.task('env:prod', () => {
211211
********************/
212212

213213
gulp.task('inject', cb => {
214-
runSequence(['inject:js', 'inject:css', 'inject:<%= styleExt %>'<% if(filters.ts) { %>, 'inject:tsconfig'<% } %>], cb);
214+
runSequence(['inject:js', 'inject:css'<% if(!filters.css) { %>, 'inject:<%= styleExt %>'<% } %><% if(filters.ts) { %>, 'inject:tsconfig'<% } %>], cb);
215215
});
216216

217217
gulp.task('inject:js', () => {

0 commit comments

Comments
 (0)