Skip to content

Commit

Permalink
Add bower.json overrides for bootstrap (yeoman#338)
Browse files Browse the repository at this point in the history
  • Loading branch information
jaromero committed Jun 22, 2015
1 parent b4063bb commit cf588ec
Showing 1 changed file with 26 additions and 1 deletion.
27 changes: 26 additions & 1 deletion app/templates/_bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,30 @@
"bootstrap": "~3.3.1"<% }} else if (includeJQuery) { %>
"jquery": "~2.1.1"<% } if (includeModernizr) { %>,
"modernizr": "~2.8.1" <% } %>
}
}<% if (includeBootstrap) { %>,
"overrides": {<% if (includeSass) { %>
"bootstrap-sass": {
"main": [
"assets/stylesheets/_bootstrap.scss",
"assets/fonts/bootstrap/glyphicons-halflings-regular.eot",
"assets/fonts/bootstrap/glyphicons-halflings-regular.svg",
"assets/fonts/bootstrap/glyphicons-halflings-regular.ttf",
"assets/fonts/bootstrap/glyphicons-halflings-regular.woff",
"assets/fonts/bootstrap/glyphicons-halflings-regular.woff2",
"assets/javascripts/bootstrap.js"
]
} <% } else { %>
"bootstrap": {
"main": [
"less/bootstrap.less",
"dist/css/bootstrap.css",
"dist/js/bootstrap.js",
"dist/fonts/glyphicons-halflings-regular.eot",
"dist/fonts/glyphicons-halflings-regular.svg",
"dist/fonts/glyphicons-halflings-regular.ttf",
"dist/fonts/glyphicons-halflings-regular.woff",
"dist/fonts/glyphicons-halflings-regular.woff2"
]
} <% } %>
} <% } %>
}

0 comments on commit cf588ec

Please sign in to comment.