Rush StackShopBlogEvents
Skip to main content

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

Subspace.getPnpmConfigFilePath() 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 full path to the pnpm-config.json config file for this subspace.

Example (subspaces feature enabled): C:\MyRepo\common\config\subspaces\my-subspace\pnpm-config.json Example (subspaces feature disabled): C:\MyRepo\common\config\rush\pnpm-config.json

Signature:

getPnpmConfigFilePath(): string;

Returns:

string