diff --git a/utils/resolve.js b/utils/resolve.js index 1d6e164b1..8193e7731 100644 --- a/utils/resolve.js +++ b/utils/resolve.js @@ -21,6 +21,7 @@ exports.fileExistsWithCaseSync = function fileExistsWithCaseSync(filepath, cache // null means it resolved to a builtin if (filepath === null) return true + if (filepath.toLowerCase() === process.cwd().toLowerCase()) return true const parsedPath = path.parse(filepath) , dir = parsedPath.dir