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

IImportResolveOptions interface

Common options shared by IImportResolveModuleOptions and IImportResolvePackageOptions

Signature:

export interface IImportResolveOptions 

Properties

Property 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.
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.