new MultiCompiler(compilers, options): MultiCompiler
Attributes
Creates an instance of MultiCompiler.
Type:
Compiler[]Type:
ObjectType:
SyncHook<[MultiStats]>Type:
MultiHook<AsyncSeriesHook<[Compiler]>>Type:
SyncHook<[]>Type:
MultiHook<AsyncSeriesHook<[Compiler]>>Type:
InputFileSystemSets input file system.
Sets intermediate file system.
Type:
OutputFileSystemSets output file system.
Type:
booleanType:
WatchFileSystemSets watch file system.
Type:
MultiWatchingType:
stringmultiCompiler.close(callback): void
Attributes
Processes the provided error callback.
multiCompiler.getInfrastructureLogger(name): WebpackLogger
Attributes
Returns:
WebpackLoggerGets infrastructure logger.
multiCompiler.purgeInputFileSystem(): void
multiCompiler.run(callback): void
Attributes
callback:
CallbackWebpackFunction_2<MultiStats, void>Processes the provided multi stat.
multiCompiler.runWithDependencies(compilers, fn, callback): void
Stability: 0Deprecated: This method should have been private
Attributes
compilers:
Compiler[]fn:
(compiler: Compiler, callback: CallbackWebpackFunction_2<MultiStats, void>) => voidcallback:
CallbackWebpackFunction_2<Stats[], void>Run with dependencies.
multiCompiler.setDependencies(compiler, dependencies): void
Attributes
Updates dependencies using the provided compiler.
multiCompiler.validateDependencies(callback): boolean
Attributes
callback:
CallbackWebpackFunction_2<MultiStats, void>Returns:
booleanValidate dependencies.
multiCompiler.watch(watchOptions, handler): MultiWatching | undefined
Attributes
watchOptions:
WatchOptions | WatchOptions[]handler:
CallbackWebpackFunction_2<MultiStats, void>Returns:
MultiWatching | undefinedReturns a compiler watcher.