Skip to content

normalizePath

normalizePath(this, p, noResolve?): string

Defined in: src/utils.ts:104

Internal

Normalizes a path

unknown

PathLike

boolean = false

string

clean this up and make it so path.resolve is only called when an explicit context is passed (i.e. normalizePath(..., $) to use path.resolve)