Skip to content

Commit bf9640c

Browse files
committed
feat: add webpackconfig parmas for stats
1 parent aacf45d commit bf9640c

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

lib/child-process.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ process.on('message', m => {
2525
target: webpackConfig.target,
2626
port: webpackTool.config.port + option.index,
2727
publicPath: webpackConfig.output.publicPath,
28-
});
28+
}, webpackConfig);
2929
} else {
3030
console.error('[egg-webpack] mult process webpack build get webpack config null', option);
3131
}

lib/server.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ class WebpackServer extends WebpackTool {
2929
target: webpackConfig.target,
3030
port: this.config.port + index,
3131
publicPath: webpackConfig.output.publicPath,
32-
});
32+
}, webpackConfig);
3333
compilers.push(compiler);
3434
});
3535
this.listen(compilers);

0 commit comments

Comments
 (0)