resolveSync

Bun

Symbol

resolveSync

function resolveSync(moduleId: string, parent: string): string

Synchronously resolve a moduleId as though it were imported from parent

On failure, throws a ResolveMessage