Skip to content
This repository has been archived by the owner on May 25, 2019. It is now read-only.

Commit

Permalink
Use project root as Sass include path
Browse files Browse the repository at this point in the history
  • Loading branch information
silvenon committed Jul 4, 2015
1 parent 373931a commit 1ed82fe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ module.exports = generators.Base.extend({
wiredep({
bowerJson: bowerJson,
src: 'app/styles/*.scss',
ignorePath: /(\.\.\/){1,2}bower_components\//
ignorePath: /^(\.\.\/)+/
});
}
}
Expand Down
2 changes: 1 addition & 1 deletion app/templates/Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ module.exports = function (grunt) {
sourceMap: true,
sourceMapEmbed: true,
sourceMapContents: true,
includePaths: ['bower_components']
includePaths: ['.']
},
dist: {
files: [{
Expand Down

1 comment on commit 1ed82fe

@phairoh
Copy link

@phairoh phairoh commented on 1ed82fe Jul 6, 2015

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@silvenon The change in this commit to Gruntfile.js has broken the grunt tasks for the webapp that is created from this generator. Simply changing it back to bower_components seems to fix it.

Please sign in to comment.