Skip to content

Commit

Permalink
fix module resolution bug
Browse files Browse the repository at this point in the history
  • Loading branch information
miguelcobain committed Nov 24, 2016
1 parent b059d01 commit 82c53e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ module.exports = {
bower, we use this hack. Please change it if you read this and know a better way.
*/
pathBase: function() {
return path.dirname(resolve.sync('angular-material-source/package.json', { basedir: this.parent.root })) + '/src';
return path.dirname(resolve.sync('angular-material-source/package.json', { basedir: __dirname })) + '/src';
},

postprocessTree: function(type, tree) {
Expand Down

0 comments on commit 82c53e4

Please sign in to comment.