Skip to content

Commit

Permalink
Attempt fix
Browse files Browse the repository at this point in the history
  • Loading branch information
fisker committed Feb 14, 2020
1 parent daa037d commit e8eec6b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions utils/resolve.js
Expand Up @@ -47,8 +47,12 @@ function tryRequire(target, sourceFile) {
return undefined
}

try {
// If the target exists then return the loaded module
return require(resolved)
} catch(e) {
console.log({resolved})
}
}

// http://stackoverflow.com/a/27382838
Expand Down

0 comments on commit e8eec6b

Please sign in to comment.