LoadHookContext
[<Interface>]
type LoadHookContext =
abstract member conditions: string array with get, set
abstract member format: string option with get, set
abstract member importAttributes: ImportAttributes with get, set
static member Create (conditions: string array, importAttributes: ImportAttributes, ?format: string) : LoadHookContext| Assembly | Xantham.Fable.Node |
| Attributes | [<Interface>] |
Properties
abstract member conditions: string array with get, set
abstract member conditions: string array with get, setExport conditions of the relevant package.json
abstract member format: string option with get, set
abstract member format: string option with get, setThe format optionally supplied by the resolve hook chain (can be an intermediary value).
abstract member importAttributes: ImportAttributes with get, set
abstract member importAttributes: ImportAttributes with get, setAn object whose key-value pairs represent the assertions for the module to import