RoadmapShopEvents
Skip to main content

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

IImportResolveOptions interface

Common options shared by IImportResolveModuleOptions and IImportResolvePackageOptions

Signature:
export interface IImportResolveOptions

Properties

PropertyTypeDescription
allowSelfReference?boolean(Optional) If true, then resolvePath is allowed to refer to the package.json of the active project.
baseFolderPathstringThe 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.