Rush StackShopBlogEvents
Skip to main content

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

Subspace.getPnpmfilePath() method

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

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

Signature:

getPnpmfilePath(variant?: string): string;

Parameters

Parameter

Type

Description

variant

string

(Optional)

Returns:

string

Remarks

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