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 that 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)
Parameters
Name | Type | Description |
---|---|---|
settings | NpmPruneSettings | The settings. |
Return Value
Type | Description |
---|---|
NpmPruneSettings | The settings instance with Production set to true . |