On this page

compareRuntime(a, b): 0 | 1 | -1
Attributes
second
Returns:0 | 1 | -1
compare

Compares the provided values and returns their ordering.


filterRuntime(runtime, filter): undefined | string | boolean | SortableSet<string>
Attributes
runtime:RuntimeSpec
runtime
filter:(runtime?: RuntimeSpec) => boolean
filter function
true/false if filter is constant for all runtimes, otherwise runtimes that are active

Returns true/false if filter is constant for all runtimes, otherwise runtimes that are active.


forEachRuntime(runtime, fn, deterministicOrder?): void
Attributes
runtime:RuntimeSpec
runtime
fn:(runtime?: string) => void
functor
deterministicOrder:boolean
enforce a deterministic order
Returns:void

Processes the provided runtime.


getEntryRuntime(compilation, name, options?): RuntimeSpec
Attributes
compilation:Compilation
the compilation
name:string
name of the entry
options:EntryOptions
optionally already received entry options
Returns:RuntimeSpec
runtime

Gets entry runtime.


getRuntimeKey(runtime): string
Attributes
runtime:RuntimeSpec
runtime(s)
Returns:string
key of runtimes

Returns key of runtimes.


intersectRuntime(a, b): RuntimeSpec
Attributes
second
Returns:RuntimeSpec
merged

Returns merged.


keyToRuntime(key): RuntimeSpec
Attributes
key:string
key of runtimes
Returns:RuntimeSpec
runtime(s)

Returns runtime(s).


mergeRuntime(a, b): RuntimeSpec
Attributes
second
Returns:RuntimeSpec
merged

Merges the provided values into a single result.


mergeRuntimeCondition(a, b, runtime): RuntimeCondition
Attributes
runtime:RuntimeSpec
full runtime
result

Merges runtime condition.


mergeRuntimeConditionNonFalse(a, b, runtime): undefined | string | true | SortableSet<string>
Attributes
first
second
runtime:RuntimeSpec
full runtime
Returns:undefined | string | true | SortableSet<string>
result

Merges runtime condition non false.


mergeRuntimeOwned(a, b): RuntimeSpec
Attributes
first (may be modified)
second
Returns:RuntimeSpec
merged

Merges runtime owned.


runtimeConditionToString(runtimeCondition): string
Attributes
runtimeCondition:RuntimeCondition
runtime condition
Returns:string
readable version

Runtime condition to string.


runtimeEqual(a, b): boolean
Attributes
second
Returns:boolean
true, when they are equal

Returns true, when they are equal.


runtimeToString(runtime): string
Attributes
runtime:RuntimeSpec
runtime(s)
Returns:string
readable version

Returns readable version.


subtractRuntime(a, b): RuntimeSpec
Attributes
second
Returns:RuntimeSpec
result

Returns result.


subtractRuntimeCondition(a, b, runtime): RuntimeCondition
Attributes
runtime:RuntimeSpec
runtime
result

Subtract runtime condition.