diff --git a/app/templates/Gruntfile.js b/app/templates/Gruntfile.js index 666681a89..fb5675cfd 100644 --- a/app/templates/Gruntfile.js +++ b/app/templates/Gruntfile.js @@ -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) { %>,