Member predicate PackageJson::getExportedPath
Gets the path to the file exported with the given relative path.
This can be given by the exports
property, but also considers main
and
module
paths to be exported under the relative path "."
.
string getExportedPath(string relativePath)