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
Sets the source to pack.
- Assembly
- Cake
.Npm .dll - Namespace
- Cake
.Npm .Pack - Containing Type
- Npm
Pack Settings Extensions
Syntax
public static NpmPackSettings FromSource(this NpmPackSettings settings, string source)
Parameters
Name | Type | Description |
---|---|---|
settings | NpmPackSettings | The settings. |
source | string | Source to pack. Can be anything that is installable by npm, like a package folder, tarball, tarball url, name@tag, name@version, name, or scoped name. |
Return Value
Type | Description |
---|---|
NpmPackSettings | The settings instance with Source set to source. |