Bun

interface

module.default.ResolveHookContext

interface ResolveHookContext

  • conditions: string[]

    Export conditions of the relevant package.json

  • importAttributes: ImportAttributes

    An object whose key-value pairs represent the assertions for the module to import

  • parentURL: undefined | string

    The module importing this one, or undefined if this is the Node.js entry point