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
Rebuild packages using the settings returned by a configurator.
- Assembly
- Cake
.Npm .dll - Namespace
- Cake
.Npm - Containing Type
- NpmRebuildAliases
Syntax
public static void NpmRebuild(this ICakeContext context, Action<NpmRebuildSettings> configurator)
Examples
Rebuild packages in a specific working directory ('npm rebuild')
NpmRebuild(settings => settings.FromPath(@"c:\myproject"));
Attributes
| Type | Description |
|---|---|
| Cake |
|
| Cake |
Parameters
| Name | Type | Description |
|---|---|---|
| context | ICakeContext | The context. |
| configurator | Action |
The settings configurator |
Return Value
| Type | Description |
|---|---|
| void |
