pub fn public_api_package_entry_points(
graph: &ModuleGraph,
config: &ResolvedConfig,
root_pkg: Option<&PackageJson>,
workspaces: &[WorkspaceInfo],
) -> HashSet<FileId, FxBuildHasher>Expand description
Compute the exports-aware public-API entry-point set: the package.json
exports-mapped modules (non-private packages) plus the no-exports
source-index fallback. This encodes rule R4 (the exports-mapped copy is
public; a no-exports copy is internal). Exposed for the review brief,
which feeds it into ModuleGraph::public_export_keys to compute the
exports-aware public-API surface delta.