On this page

new MultiCompiler(compilers, options): void

Creates an instance of MultiCompiler.

Attributes
compilers:<Compiler[]>
dependencies:
{WeakMap<Compiler, string[]>}
hooks:
{Readonly }
inputFileSystem:<InputFileSystem>
Sets input file system.
intermediateFileSystem:
{IntermediateFileSystem} Sets intermediate file system.
outputFileSystem:<OutputFileSystem>
Sets output file system.
outputPath:<string>
running:<boolean>
watchFileSystem:
{WatchFileSystem} Sets watch file system.
close(callback): void
Attributes
callback:<object>
Returns:
{void}

Processes the provided error callback.


getInfrastructureLogger(name): WebpackLogger
Attributes
Returns:
{WebpackLogger}

Gets infrastructure logger.


purgeInputFileSystem(): void
Returns:
{void}

run(callback): void
  • callback {CallbackWebpackFunction_2<MultiStats, void>}
  • Returns: {void}

Processes the provided multi stat.


runWithDependencies(compilers, fn, callback): void
Stability: 0Deprecated: This method should have been private
Attributes
compilers:<Compiler[]>
callback:
{CallbackWebpackFunction_2<Stats[], void>}
Returns:
{void}

Run with dependencies.


setDependencies(compiler, dependencies): void
Attributes
compiler:<Compiler>
dependencies:<string[]>
Returns:
{void}

Updates dependencies using the provided compiler.


validateDependencies(callback): void
  • callback {CallbackWebpackFunction_2<MultiStats, void>}
  • Returns: <boolean>

Validate dependencies.


watch(watchOptions, handler): void
  • watchOptions {WatchOptions|WatchOptions[]}
  • handler {CallbackWebpackFunction_2<MultiStats, void>}
  • Returns: <undefined>

Returns a compiler watcher.