YarnInstallSettings.

ForProduction(bool) Method

Summary

Applies the --production parameter (can not be set when installing individual packages
Assembly
Cake.Yarn.dll
Namespace
Cake.Yarn
Containing Type
YarnInstallSettings

Syntax

public YarnInstallSettings ForProduction(bool enabled = true)

Parameters

Name Type Description
enabled bool The value of the explicitely set production parameter

Return Value

Type Description
YarnInstallSettings