NpmPruneSettingsExtensions.

ForProduction(NpmPruneSettings) Method

Summary

Defines that npm should remove modules listed in devDependencies.
Assembly
Cake.Npm.dll
Namespace
Cake.Npm.Prune
Containing Type
NpmPruneSettingsExtensions

Syntax

public static NpmPruneSettings ForProduction(this NpmPruneSettings settings)

Parameters

Name Type Description
settings NpmPruneSettings The settings.

Return Value

Type Description
NpmPruneSettings The settings instance with Production set to true.