@-xun/project / test/util / resolveTargetWithResolveExports
resolveTargetWithResolveExports(
__namedParameters):ResolvedSummary&object
Defined in: test/util.ts:133
Resolves a subpath to a target using the resolve.exports library. This function is used to ensure project-utils's resolver functions return results that coincide with resolve.exports in the interest of ecosystem interoperability.
string[]
Conditions to match against during target resolution.
XPackageJson
Contents of the package.json file of the package under test.
string
The subpath to resolve against the packageName package. Must start with
either "#" or "./" or be "." exactly.
ResolvedSummary & object