Skip to content

RequireResolveOptions

[<Interface>]
type RequireResolveOptions =
    abstract member paths: string array option with get, set
    static member Create (?paths: string array) : RequireResolveOptions
AssemblyXantham.Fable.Node
Attributes[<Interface>]

Properties

abstract member paths: string array option with get, set

Paths to resolve module location from. If present, these paths are used instead of the default resolution paths, with the exception of GLOBAL_FOLDERS like $HOME/.node_modules, which are always included. Each of these paths is used as a starting point for the module resolution algorithm, meaning that the node_modules hierarchy is checked from this location.

@since v8.9.0

Methods

static member Create (?paths: string array) : RequireResolveOptions