mirror of
https://github.com/denoland/deno.git
synced 2025-02-07 14:56:56 -05:00
56bf634fa9
Part of #22607 (probably closes it, but I haven't done thorough testing) Makes it so that `require.resolve` with `paths` specified will fallback to using the global cache when the paths can't be found when using a global cache (not when using a node_modules folder)
3 lines
71 B
JavaScript
3 lines
71 B
JavaScript
exports.resolve = (...args) => {
|
|
return require.resolve(...args);
|
|
};
|