Skip to content

@saflib/monorepo


Function: collectPublicExportRepoPaths() ​

collectPublicExportRepoPaths(packageDir, packageRepoPath): string[]

Repo-relative paths of source files that are direct package.json export targets (including pattern exports). Used to skip dead-code on public API.

Parameters ​

ParameterType
packageDirstring
packageRepoPathstring

Returns ​

string[]