WebpackLocalRunnerSettings Class

Summary

Webpack settings specific to local webpack execution
Assembly
Cake.Webpack.dll
Namespace
Cake.Webpack
Base Types
graph BT Type-->Base0["WebpackRunnerSettings"] click Base0 "/api/Cake.Webpack/WebpackRunnerSettings" Base0-->Base1["ToolSettings"] Type["WebpackLocalRunnerSettings"] class Type type-node

Syntax

public class WebpackLocalRunnerSettings : WebpackRunnerSettings

Constructors

Name Summary
WebpackLocalRunnerSettings() Webpack settings specific to local webpack execution

Fields

Name Constant Value Summary
FileSystem
The file system
Inherited from WebpackRunnerSettings

Properties

Name Value Summary
Arguments string
Argument string to pass to Webpack
Inherited from WebpackRunnerSettings
BuildMode Nullable<WebpackBuildMode>
specifies the build mode
Inherited from WebpackRunnerSettings
ConfigFile FilePath
The config file to run
Inherited from WebpackRunnerSettings
OutputJson bool
specifies the --json switch
Inherited from WebpackRunnerSettings
PathToWebpackJs FilePath
Path to local webpack installation

Methods

Name Value Summary
EvaluateCore(ProcessArgumentBuilder) void
evaluate options
Inherited from WebpackRunnerSettings
FromConfig(FilePath) WebpackRunnerSettings
The Webpackfile to use
Inherited from WebpackRunnerSettings
OutputAsJson(bool) WebpackRunnerSettings
Whether to append the --json switch
Inherited from WebpackRunnerSettings
SetPathToWebpackJs(FilePath) WebpackLocalRunnerSettings
Sets the location of local webpack node installation
WithArguments(string) WebpackRunnerSettings
The argument string to pass to Webpack
Inherited from WebpackRunnerSettings
WithBuildMode(WebpackBuildMode) WebpackRunnerSettings
Whether to specifies either -d or -p switch
Inherited from WebpackRunnerSettings

Extension Methods

Name Value Summary
Dump<WebpackLocalRunnerSettings>() string
Get a basic string representation of specified object.
Requires the Cake.Incubator addin
IsIn<WebpackLocalRunnerSettings>(WebpackLocalRunnerSettings[]) bool
Checks if the source is contained in a list
Requires the Cake.Incubator addin
NotNull<WebpackLocalRunnerSettings>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Ftp addin
NotNull<WebpackLocalRunnerSettings>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Issues addin
ThrowIfNull<WebpackLocalRunnerSettings>(string, string) T
Throws a System.ArgumentNullException with a specific message if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ThrowIfNull<WebpackLocalRunnerSettings>(string) T
Throws a System.ArgumentNullException if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ToDictionary() IDictionary<string, object>
Requires the Cake.DeployParams addin
ToStringWithNullMarkup() string
Returns the string value or a Not set> markup suitable for Spectre.Console.
Requires the Cake.Issues addin