RequireResolveOptions

sealed external interface RequireResolveOptions(source)

Properties

Link copied to clipboard
abstract var paths: <Error class: unknown class><String>?

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.