Skip to content

Commit fbdb394

Browse files
SaintPeterkingcody
authored andcommitted
fix(wiredep): only exclude bootstrap.js when ui-bootstrap is chosen
Fixes #565
1 parent fd6bfe9 commit fbdb394

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: app/templates/Gruntfile.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -248,8 +248,8 @@ module.exports = function (grunt) {
248248
// Automatically inject Bower components into the app and karma.conf.js
249249
wiredep: {
250250
options: {
251-
exclude: [
252-
/bootstrap.js/,
251+
exclude: [ <% if(filters.uibootstrap) { %>
252+
/bootstrap.js/,<% } %>
253253
'/json3/',
254254
'/es5-shim/'<% if(!filters.css) { %>,
255255
/font-awesome\.css/<% if(filters.bootstrap) { %>,

0 commit comments

Comments
 (0)