Skip to content

@saflib/imports


Function: collectPublicExportPathsFromTree()

collectPublicExportPathsFromTree(packageRepoPath, exports, treePaths): string[]

Repo-relative paths that are public package.json export targets, derived from a commit tree (no filesystem).

Parameters

ParameterType
packageRepoPathstring
exportsunknown
treePathsSet<string>

Returns

string[]