On this page

new MultiCompiler(compilers, options): MultiCompiler
Attributes
compilers:<Compiler>
[] | <Record> < <string> , <Compiler> >

Creates an instance of MultiCompiler.

Attributes
compilers:<Compiler>
[]
dependencies:<WeakMap>
hooks:
<Readonly> < <object> >
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

Validate dependencies.


watch(watchOptions, handler): MultiWatching | undefined
Attributes
handler:
<CallbackWebpackFunction_2> < <MultiStats> , <void> >

Returns a compiler watcher.