Skip to content

Commit

Permalink
fix: webpack target info show
Browse files Browse the repository at this point in the history
  • Loading branch information
hubcarl committed Mar 6, 2018
1 parent 78b5d79 commit aacf45d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions lib/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ class WebpackServer extends WebpackTool {
const compiler = this.build(webpackConfig);
super.createWebpackServer(compiler, {
hot: webpackConfig.target !== 'node',
target: webpackConfig.target,
port: this.config.port + index,
publicPath: webpackConfig.output.publicPath,
});
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "egg-webpack",
"version": "4.0.0-rc.1",
"version": "4.0.0-rc.2",
"description": "webpack dev server plugin for egg, support read file in memory and hot reload.",
"eggPlugin": {
"name": "webpack",
Expand Down

0 comments on commit aacf45d

Please sign in to comment.