Rush StackShopBlogEvents
Skip to main content

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

IImportResolvePackageOptions interface

Options for Import.resolvePackage()

Signature:

export interface IImportResolvePackageOptions extends IImportResolveOptions 

Extends: IImportResolveOptions

Properties

Property

Modifiers

Type

Description

packageName

string

The package name to resolve. For example "@rushstack/node-core-library"

useNodeJSResolver?

boolean

(Optional) If true, then the module path will be resolved using Node.js's built-in resolution algorithm.