new MultiCompiler(compilers, options): MultiCompilerAttributes
Creates an instance of MultiCompiler.
Attributes
compilers:
Compiler[]hooks:
Readonly<{ done: SyncHook<[MultiStats]>; infrastructureLog: MultiHook<SyncBailHook<[string, string, undefined | any[]], true | void>>; invalid: MultiHook<SyncHook<[null | string, number]>>; run: MultiHook<AsyncSeriesHook<[Compiler]>>; watchClose: SyncHook<[]>; watchRun: MultiHook<AsyncSeriesHook<[Compiler]>> }>inputFileSystem:
InputFileSystemSets input file system.
intermediateFileSystem:
IntermediateFileSystemSets intermediate file system.
options:
WebpackOptionsNormalized[] & MultiCompilerOptionsoutputFileSystem:
OutputFileSystemSets output file system.
outputPath:
stringrunning:
booleanwatchFileSystem:
WatchFileSystemSets watch file system.
close(callback): voidAttributes
Processes the provided error callback.
getInfrastructureLogger(name): WebpackLoggerAttributes
Returns:
WebpackLoggerGets infrastructure logger.
purgeInputFileSystem(): voidReturns:
voidM
run
run(callback): voidAttributes
callback:
CallbackWebpackFunction_2<MultiStats, void>Returns:
voidProcesses the provided multi stat.
runWithDependencies(compilers, fn, callback): voidStability: 0Deprecated: This method should have been private
Attributes
compilers:
Compiler[]fn:
(compiler: Compiler, callback: CallbackWebpackFunction_2<MultiStats, void>) => voidcallback:
CallbackWebpackFunction_2<Stats[], void>Returns:
voidRun with dependencies.
setDependencies(compiler, dependencies): voidAttributes
Updates dependencies using the provided compiler.
validateDependencies(callback): booleanAttributes
callback:
CallbackWebpackFunction_2<MultiStats, void>Returns:
booleanValidate dependencies.
watch(watchOptions, handler): MultiWatching | undefinedAttributes
watchOptions:
WatchOptions | WatchOptions[]handler:
CallbackWebpackFunction_2<MultiStats, void>Returns:
MultiWatching | undefinedReturns a compiler watcher.