NpmPruneSettingsExtensions.

ForProduction(NpmPruneSettings, bool) Method

Summary

Defines whether 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, bool production)

Parameters

Name Type Description
settings NpmPruneSettings The settings.
production bool True to enable

Return Value

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