Function resolve

  • Resolve a moduleId as though it were imported from parent

    On failure, throws a ResolveError

    For now, use the sync version. There is zero performance benefit to using this async version. It exists for future-proofing.

    Parameters

    • moduleId: string
    • parent: string

    Returns Promise<string>

  • Resolve a moduleId as though it were imported from parent

    On failure, throws a ResolveError

    For now, use the sync version. There is zero performance benefit to using this async version. It exists for future-proofing.

    Parameters

    • moduleId: string
    • parent: string

    Returns Promise<string>

Generated using TypeDoc