Skip to content

Latest commit

 

History

History
121 lines (57 loc) · 2.07 KB

File metadata and controls

121 lines (57 loc) · 2.07 KB
hide_title true
custom_edit_url
pagination_prev
pagination_next

Home > @rushstack/node-core-library > IImportResolveOptions

IImportResolveOptions interface

Common options shared by IImportResolveModuleOptions and IImportResolvePackageOptions

Signature:

export interface IImportResolveOptions 

Properties

Property

Modifiers

Type

Description

allowSelfReference?

boolean

(Optional) If true, then resolvePath is allowed to refer to the package.json of the active project.

baseFolderPath

string

The path from which IImportResolveModuleOptions.modulePath or IImportResolvePackageOptions.packageName should be resolved.

getRealPath?

(filePath: string) => string

(Optional) A function used to resolve the realpath of a provided file path.

includeSystemModules?

boolean

(Optional) If true, if the package name matches a Node.js system module, then the return value will be the package name without any path.