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

RushConfiguration.yarnOptions property

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

Signature:

readonly yarnOptions: YarnOptionsConfiguration;

Remarks

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.