Skip to content

Commit

Permalink
fix(gulp:inject): prevent 'inject:css' from showing up twice
Browse files Browse the repository at this point in the history
  • Loading branch information
Awk34 committed Apr 21, 2016
1 parent fe3db18 commit 09b4f01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/templates/gulpfile.babel(gulp).js
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ gulp.task('env:prod', () => {
********************/

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

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

0 comments on commit 09b4f01

Please sign in to comment.