Skip to content

packageRoot

function packageRoot(dir): string;

Defined in: src/build/api-surface.ts:87

Locate the package root: dir itself, or its parent when dir is the dist/ folder.

Parameter Type
dir string

string