diff --git a/utils/resolve.js b/utils/resolve.js index 3138194a94..4e0dcef917 100644 --- a/utils/resolve.js +++ b/utils/resolve.js @@ -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