Searched refs:requirePath (Results 1 – 1 of 1) sorted by relevance
119 static requireLibrary (requirePath, cwd = process.cwd()) { argument120 if (requirePath.charAt(0) === '.' && DOT_RELATIVE_RX.test(requirePath)) {122 requirePath = ospath.resolve(requirePath)123 } else if (!ospath.isAbsolute(requirePath)) {126 requirePath = require.resolve(requirePath, { paths })128 return require(requirePath)134 requirePaths.forEach((requirePath) => {135 const lib = Invoker.requireLibrary(requirePath)