new MultiCompiler(compilers, options): voidcompilers{Compiler[]|Record< string, Compiler >}options<MultiCompilerOptions>- Returns:
<MultiCompiler>
Creates an instance of MultiCompiler.
Attributes
compilers:
<Compiler[]>dependencies:
{WeakMap< Compiler, string[] >}
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): voidAttributes
callback:
<object>Returns:
{void}
Processes the provided error callback.
getInfrastructureLogger(name): WebpackLoggerAttributes
Returns:
{WebpackLogger}
Gets infrastructure logger.
purgeInputFileSystem(): voidReturns:
{void}
M
run
run(callback): voidcallback{CallbackWebpackFunction_2< MultiStats, void >}- Returns: {void}
Processes the provided multi stat.
runWithDependencies(compilers, fn, callback): voidStability: 0Deprecated: This method should have been private
Attributes
Returns:
{void}
Run with dependencies.
setDependencies(compiler, dependencies): voidAttributes
compiler:
<Compiler>dependencies:
<string[]>Returns:
{void}
Updates dependencies using the provided compiler.
validateDependencies(callback): voidcallback{CallbackWebpackFunction_2< MultiStats, void >}- Returns:
<boolean>
Validate dependencies.
watch(watchOptions, handler): MultiWatching | undefinedAttributes
watchOptions:
<WatchOptions>
|
<WatchOptions[]>handler:
{CallbackWebpackFunction_2< MultiStats, void >}
Returns:
<MultiWatching>
|
<undefined>Returns a compiler watcher.