Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • ResolveOpts

Index

Properties

Optional basedirs

basedirs?: string[]

directories to begin resolving from (defaults to [__dirname])

Optional caller

caller?: string

name of the caller for error message (default to Resolver)

Optional extensions

extensions?: string | readonly string[]

array of file extensions to search in order (defaults to [".mjs", ".js", ".json"])

Optional preserveSymlinks

preserveSymlinks?: boolean

don't resolve basedirs to real path before resolving. (defaults to true)

Methods

Optional packageFilter

  • transform the parsed package.json contents before looking at the "main" field

    Parameters

    Returns Package

Generated using TypeDoc