| hide_title | true |
|---|---|
| custom_edit_url | |
| pagination_prev | |
| pagination_next |
Home > @rushstack/node-core-library > IImportResolveOptions
Common options shared by IImportResolveModuleOptions and IImportResolvePackageOptions
Signature:
export interface IImportResolveOptions |
Property |
Modifiers |
Type |
Description |
|---|---|---|---|
|
boolean |
(Optional) If true, then resolvePath is allowed to refer to the package.json of the active project. | ||
|
string |
The path from which IImportResolveModuleOptions.modulePath or IImportResolvePackageOptions.packageName should be resolved. | ||
|
(filePath: string) => string |
(Optional) A function used to resolve the realpath of a provided file path. | ||
|
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. |