Skip to content

Commit 737eaa5

Browse files
committed
Fix a bug where ProgressPlugin is not working properly with MultiCompiler
1 parent c92eabd commit 737eaa5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/ProgressPlugin.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ class ProgressPlugin {
8383
const states = new Array(compiler.compilers.length);
8484
compiler.compilers.forEach((compiler, idx) => {
8585
new ProgressPlugin((p, msg, ...args) => {
86-
states[idx] = args;
86+
states[idx] = [p, msg, ...args];
8787
handler(
8888
states
8989
.map(state => (state && state[0]) || 0)

0 commit comments

Comments
 (0)