Package Exports
- @yarn-tool/require-resolve
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@yarn-tool/require-resolve) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
README.md
require.resolve with search on extra pathsinstall
yarn add @yarn-tool/require-resolve
yarn-tool add @yarn-tool/require-resolve
yt add @yarn-tool/require-resolveconst tsdx_path = requireResolveExtra('tsdx').result;
let actual = requireResolveExtra('ts-jest', {
includeGlobal: true,
includeCurrentDirectory: true,
paths: [
tsdx_path,
],
});
console.dir(actual);