This content is part of a third party extension that is not supported by the Cake project.
For more information about this extension see Cake.Npm.
Summary
Defines whether npm should remove modules listed in
devDependencies
.
- Assembly
- Cake
.Npm .dll - Namespace
- Cake
.Npm .Prune - Containing Type
- Npm
Prune Settings Extensions
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. |