Skip to content

Function: resolveImportPath()

Call Signature

resolveImportPath(importName, ensure?): Promise<string>

Defined in: packages/valaxy/node/utils/resolve.ts:11

Before is CJS: use 'resolve' ESM: use 'mlly'

Parameters

importName

string

ensure?

true

Returns

Promise<string>

Call Signature

resolveImportPath(importName, ensure?): Promise<string | undefined>

Defined in: packages/valaxy/node/utils/resolve.ts:12

Before is CJS: use 'resolve' ESM: use 'mlly'

Parameters

importName

string

ensure?

boolean

Returns

Promise<string | undefined>