Skip to content

Function: normalizeProjectSourcePath()

normalizeProjectSourcePath(sourcePath, kind): string

Defined in: packages/core/src/project/paths.ts:26

Validate and normalize a project-owned source path without filesystem or Node dependencies. Returned paths always begin with ./ and use /.

Parameters

sourcePath

string

kind

ProjectSourcePathKind

Returns

string

Privacy | Terms