Rush StackShopBlogEvents
Skip to main content

Home > @microsoft/rush-lib > RushConfiguration > getProjectLookupForRoot

RushConfiguration.getProjectLookupForRoot() method

This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

Signature:

getProjectLookupForRoot(rootPath: string): LookupByPath<RushConfigurationProject>;

Parameters

ParameterTypeDescription
rootPathstring

Returns:

LookupByPath<RushConfigurationProject>

An optimized lookup engine to find a project by its path relative to the specified root.