On this page

webpack.util.runtime.compareRuntime(a, b): void
  • a {RuntimeSpec} first
  • b {RuntimeSpec} second
  • Returns: {0|1|-1} compare

webpack.util.runtime.filterRuntime(runtime, filter): void
  • runtime {RuntimeSpec} runtime
  • filter <object> filter function
  • Returns: {undefined|string|boolean|SortableSet} true/false if filter is constant for all runtimes, otherwise runtimes that are active

webpack.util.runtime.forEachRuntime(runtime, fn, deterministicOrder?): void
  • runtime {RuntimeSpec} runtime
  • fn <object> functor
  • deterministicOrder <boolean> enforce a deterministic order
  • Returns: {void}

webpack.util.runtime.getEntryRuntime(compilation, name, options?): void
  • compilation {Compilation} the compilation
  • name <string> name of the entry
  • options {EntryOptions} optionally already received entry options
  • Returns: {RuntimeSpec} runtime

webpack.util.runtime.getRuntimeKey(runtime): void
  • runtime {RuntimeSpec} runtime(s)
  • Returns: <string> key of runtimes

webpack.util.runtime.intersectRuntime(a, b): void
  • a {RuntimeSpec} first
  • b {RuntimeSpec} second
  • Returns: {RuntimeSpec} merged

webpack.util.runtime.keyToRuntime(key): RuntimeSpec
Attributes
key of runtimes
Returns:
{RuntimeSpec} runtime(s)

webpack.util.runtime.mergeRuntime(a, b): void
  • a {RuntimeSpec} first
  • b {RuntimeSpec} second
  • Returns: {RuntimeSpec} merged

webpack.util.runtime.mergeRuntimeCondition(a, b, runtime): void
  • a {RuntimeCondition} first
  • b {RuntimeCondition} second
  • runtime {RuntimeSpec} full runtime
  • Returns: {RuntimeCondition} result

webpack.util.runtime.mergeRuntimeConditionNonFalse(a, b, runtime): void
  • a {undefined|string|true|SortableSet} first
  • b {undefined|string|true|SortableSet} second
  • runtime {RuntimeSpec} full runtime
  • Returns: {undefined|string|true|SortableSet} result

webpack.util.runtime.mergeRuntimeOwned(a, b): void
  • a {RuntimeSpec} first (may be modified)
  • b {RuntimeSpec} second
  • Returns: {RuntimeSpec} merged

webpack.util.runtime.runtimeConditionToString(runtimeCondition): void
  • runtimeCondition {RuntimeCondition} runtime condition
  • Returns: <string> readable version

webpack.util.runtime.runtimeEqual(a, b): void
  • a {RuntimeSpec} first
  • b {RuntimeSpec} second
  • Returns: <boolean> true, when they are equal

webpack.util.runtime.runtimeToString(runtime): void
  • runtime {RuntimeSpec} runtime(s)
  • Returns: <string> readable version

webpack.util.runtime.subtractRuntime(a, b): void
  • a {RuntimeSpec} first
  • b {RuntimeSpec} second
  • Returns: {RuntimeSpec} result

webpack.util.runtime.subtractRuntimeCondition(a, b, runtime): void
  • a {RuntimeCondition} first
  • b {RuntimeCondition} second
  • runtime {RuntimeSpec} runtime
  • Returns: {RuntimeCondition} result