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

Commit

Permalink
fix(hmr): update configuration for react refresh
Browse files Browse the repository at this point in the history
  • Loading branch information
amille44420 committed May 15, 2020
1 parent 2218ab4 commit 82bc828
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion configs/webpackReact.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@ const getWebpackConfig = settings => {
new webpack.IgnorePlugin(/^\.\/locale$/, /moment$/),
// React refresh experimental feature
// https://github.com/pmmmwh/react-refresh-webpack-plugin
isEnvDevelopment && withReactRefresh && new ReactRefreshWebpackPlugin({ disableRefreshCheck: true }),
isEnvDevelopment && withReactRefresh && new ReactRefreshWebpackPlugin({ overlay: false }),
].filter(Boolean),

optimization: {
Expand Down

0 comments on commit 82bc828

Please sign in to comment.