Skip to content

Commit

Permalink
the "../" regex also matched the ts/ of bower_components/ - therefore…
Browse files Browse the repository at this point in the history
… removing it
  • Loading branch information
djfarly committed Jun 27, 2014
1 parent 366b88f commit 3b3f5a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/templates/Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ module.exports = function (grunt) {
// Automatically inject Bower components into the HTML file
wiredep: {
app: {
ignorePath: new RegExp('^<%%= config.app %>/|../'),
ignorePath: /^<%= config.app %>\/|\.\.\//,
src: ['<%%= config.app %>/index.html']<% if (includeBootstrap) { %>,<% if (includeSass) { %>
exclude: ['bower_components/bootstrap-sass-official/vendor/assets/javascripts/bootstrap.js']<% } else { %>
exclude: ['bower_components/bootstrap/dist/js/bootstrap.js']<% } } %>
Expand Down

0 comments on commit 3b3f5a2

Please sign in to comment.