function getExportsSubpath(packageSubpath: string): string {
  return packageSubpath === '' ? '.' : './' + toPosixPath(packageSubpath);
}
Convert a module path to the package-relative subpath key to attempt for
"exports" field lookup.