Rush StackShopBlogEvents
Skip to main content

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

RushConfiguration.yarnOptions property

Options that are only used when the yarn package manager is selected.


readonly yarnOptions: YarnOptionsConfiguration;


It is valid to define these options in rush.json even if the yarn package manager is not being used.

The constructor for this class is marked as internal. Third-party code should not call the constructor directly or create subclasses that extend the YarnOptionsConfiguration class.