RoadmapShopEvents
Skip to main content

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

RushConfiguration.getPnpmfilePath() method

Gets the absolute path for "pnpmfile.js" for a specific variant.

Signature:

getPnpmfilePath(variant?: string | undefined): string;

Parameters

ParameterTypeDescription
variantstring | undefined(Optional) The name of the current variant in use by the active command.

Returns:

string

Remarks

The file path is returned even if PNPM is not configured as the package manager.