Skip to content

Commit

Permalink
fix(wiredep): only exclude bootstrap.js when ui-bootstrap is chosen
Browse files Browse the repository at this point in the history
Fixes #565
  • Loading branch information
SaintPeter authored and kingcody committed Aug 27, 2015
1 parent fd6bfe9 commit fbdb394
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/templates/Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -248,8 +248,8 @@ module.exports = function (grunt) {
// Automatically inject Bower components into the app and karma.conf.js
wiredep: {
options: {
exclude: [
/bootstrap.js/,
exclude: [ <% if(filters.uibootstrap) { %>
/bootstrap.js/,<% } %>
'/json3/',
'/es5-shim/'<% if(!filters.css) { %>,
/font-awesome\.css/<% if(filters.bootstrap) { %>,
Expand Down

0 comments on commit fbdb394

Please sign in to comment.