Skip to content

Commit eb6ea23

Browse files
committed
feat: add webpack target info
1 parent 86a7277 commit eb6ea23

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

lib/child-process.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ process.on('message', m => {
2222
});
2323
webpackTool.createWebpackServer(compiler, {
2424
hot: webpackConfig.target !== 'node',
25+
target: webpackConfig.target,
2526
port: webpackTool.config.port + option.index,
2627
publicPath: webpackConfig.output.publicPath,
2728
});

0 commit comments

Comments
 (0)