diff --git a/src/fs/node-require.ts b/src/fs/node-require.ts index 962e77c373..a55c615b47 100644 --- a/src/fs/node-require.ts +++ b/src/fs/node-require.ts @@ -1 +1 @@ -export const requireResolve = require.resolve +export const requireResolve = (partial: string) => require.resolve(partial, { paths: ['.'] })