Skip to content

Commit 6fa4b4e

Browse files
committed
fix(app): only generate excludes for included deps
1 parent 2f4b76f commit 6fa4b4e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Diff for: app/templates/Gruntfile.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -245,12 +245,12 @@ module.exports = function (grunt) {
245245
wiredep: {
246246
options: {
247247
exclude: [
248-
/bootstrap-sass-official/,
249248
/bootstrap.js/,
250249
'/json3/',
251250
'/es5-shim/'<% if(!filters.css) { %>,
252-
/bootstrap.css/,
253-
/font-awesome.css/<% } %>
251+
/font-awesome\.css/<% if(filters.bootstrap) { %>,
252+
/bootstrap\.css/<% if(filters.sass) { %>,
253+
/bootstrap-sass-official/<% }}} %>
254254
]
255255
},
256256
client: {

0 commit comments

Comments
 (0)