add infrastructureLog hook to MulitCompiler
This commit is contained in:
parent
0b0e9e9608
commit
98148b61c6
|
@ -18,7 +18,10 @@ module.exports = class MultiCompiler extends Tapable {
|
|||
invalid: new MultiHook(compilers.map(c => c.hooks.invalid)),
|
||||
run: new MultiHook(compilers.map(c => c.hooks.run)),
|
||||
watchClose: new SyncHook([]),
|
||||
watchRun: new MultiHook(compilers.map(c => c.hooks.watchRun))
|
||||
watchRun: new MultiHook(compilers.map(c => c.hooks.watchRun)),
|
||||
infrastructureLog: new MultiHook(
|
||||
compilers.map(c => c.hooks.infrastructureLog)
|
||||
)
|
||||
};
|
||||
if (!Array.isArray(compilers)) {
|
||||
compilers = Object.keys(compilers).map(name => {
|
||||
|
|
Loading…
Reference in New Issue