Skip to content

Commit

Permalink
fix($config): Fixed the check for the global installation with yarn
Browse files Browse the repository at this point in the history
  • Loading branch information
Eduard Kyvenko committed May 1, 2017
1 parent 48e8d02 commit df0ae91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/paths.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const paths = {
}

// If installed globally by yarn, attemt to resolve loaders from the directory above.
if (isGlobal) {
if (isGlobal(__dirname)) {
paths.resolveLoaderModules.push(path.resolve(__dirname, '../../'))
}

Expand Down

0 comments on commit df0ae91

Please sign in to comment.