Rush StackShopBlogEvents
Skip to main content

Home > @microsoft/api-extractor > IExtractorConfigPrepareOptions > projectFolderLookupToken

IExtractorConfigPrepareOptions.projectFolderLookupToken property

The default value for the projectFolder setting is the <lookup> token, which uses a heuristic to guess an appropriate project folder. Use projectFolderLookupValue to manually specify the <lookup> token value instead.


projectFolderLookupToken?: string;


If the projectFolder setting is explicitly specified in api-extractor.json file, it should take precedence over a value specified via the API. Thus the projectFolderLookupToken option provides a way to override the default value for projectFolder setting while still honoring a manually specified value.