Skip to content

Commit

Permalink
fix($core): know issue: webpack/watchpack#25
Browse files Browse the repository at this point in the history
  • Loading branch information
fimars committed Mar 5, 2019
1 parent cebbe18 commit d8554db
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/helldoc-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@
"react-router-dom": "^4.3.1",
"sass-loader": "^7.1.0",
"style-loader": "^0.23.1",
"time-fix-plugin": "^2.0.5",
"toml": "^2.3.5",
"webpack": "^4.29.0",
"webpack-chain": "^5.2.0",
Expand Down
1 change: 1 addition & 0 deletions packages/helldoc-core/src/webpack/createClientConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ export default function(ctx: HellCtx): Config {
}
]);
} else {
config.plugin("time-fix").use(require("time-fix-plugin"));
config.plugin("hmr").use(require("webpack/lib/HotModuleReplacementPlugin"));
}
return config;
Expand Down

0 comments on commit d8554db

Please sign in to comment.