Skip to content
This repository was archived by the owner on Apr 12, 2021. It is now read-only.

Commit 82bc828

Browse files
committed
fix(hmr): update configuration for react refresh
1 parent 2218ab4 commit 82bc828

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

configs/webpackReact.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,7 @@ const getWebpackConfig = settings => {
346346
new webpack.IgnorePlugin(/^\.\/locale$/, /moment$/),
347347
// React refresh experimental feature
348348
// https://github.com/pmmmwh/react-refresh-webpack-plugin
349-
isEnvDevelopment && withReactRefresh && new ReactRefreshWebpackPlugin({ disableRefreshCheck: true }),
349+
isEnvDevelopment && withReactRefresh && new ReactRefreshWebpackPlugin({ overlay: false }),
350350
].filter(Boolean),
351351

352352
optimization: {

0 commit comments

Comments
 (0)