Skip to content

Commit df0ae91

Browse files
author
Eduard Kyvenko
committed
fix($config): Fixed the check for the global installation with yarn
1 parent 48e8d02 commit df0ae91

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

config/paths.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ const paths = {
1717
}
1818

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

0 commit comments

Comments
 (0)