Rush StackShopBlogEvents
Skip to main content

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

Subspace.getCommittedShrinkwrapFilePath() 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 committed shrinkwrap file name for a specific variant.

Signature:

getCommittedShrinkwrapFilePath(variant?: string): string;

Parameters

Parameter

Type

Description

variant

string

(Optional) The name of the current variant in use by the active command.

Returns:

string