diff --git a/CHANGES.md b/CHANGES.md index 86e1d899..b8d3aeed 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -6,6 +6,7 @@ - @babel/plugin-transform-runtime: v7.9.0 → [v7.9.6](https://github.com/babel/babel/blob/master/CHANGELOG.md#v796-2020-04-29) - @babel/preset-env: v7.9.0 → [v7.9.6](https://github.com/babel/babel/blob/master/CHANGELOG.md#v796-2020-04-29) - @babel/runtime: v7.9.2 → [v7.9.6](https://github.com/babel/babel/blob/master/CHANGELOG.md#v796-2020-04-29) +- @pmmmwh/react-refresh-webpack-plugin: v0.2.0 → [v0.3.1](https://github.com/pmmmwh/react-refresh-webpack-plugin/blob/master/CHANGELOG.md#031-11-may-2020) - autoprefixer: v9.7.5 → [v9.7.6](https://github.com/postcss/autoprefixer/blob/master/CHANGELOG.md#976) - cross-spawn: v7.0.1 → [v7.0.2](https://github.com/moxystudio/node-cross-spawn/blob/master/CHANGELOG.md#702-2020-04-04) - css-loader: v3.4.2 → [v3.5.3](https://github.com/webpack-contrib/css-loader/blob/master/CHANGELOG.md#353-2020-04-24) @@ -19,6 +20,7 @@ - style-loader: v1.1.3 → [v1.2.1](https://github.com/webpack-contrib/style-loader/blob/master/CHANGELOG.md#121-2020-04-28) - terser-webpack-plugin v2.3.5 → [v2.3.6](https://github.com/webpack-contrib/terser-webpack-plugin/blob/master/CHANGELOG.md#236-2020-04-25) - webpack: v4.42.1 → [v4.43.0](https://github.com/webpack/webpack/releases/tag/v4.43.0) +- webpack-dev-server: v3.10.3 → [v3.11.0](https://github.com/webpack/webpack-dev-server/blob/master/CHANGELOG.md#3110-2020-05-08) # 0.24.5 / 2020-03-24 diff --git a/package.json b/package.json index d9144a1a..ba4becf0 100644 --- a/package.json +++ b/package.json @@ -57,7 +57,7 @@ "@babel/preset-env": "7.9.6", "@babel/preset-react": "7.9.4", "@babel/runtime": "7.9.6", - "@pmmmwh/react-refresh-webpack-plugin": "0.2.0", + "@pmmmwh/react-refresh-webpack-plugin": "0.3.1", "babel-plugin-add-module-exports": "1.0.2", "babel-plugin-inferno": "6.1.0", "babel-plugin-istanbul": "6.0.0", @@ -102,7 +102,7 @@ "terser-webpack-plugin": "2.3.6", "url-loader": "2.3.0", "webpack-dev-middleware": "3.7.2", - "webpack-dev-server": "3.10.3", + "webpack-dev-server": "3.11.0", "webpack-hot-middleware": "2.25.0" }, "devDependencies": { @@ -111,7 +111,7 @@ "cross-env": "7.0.2", "eslint-config-jonnybuchanan": "6.0.0", "eventsource": "1.0.7", - "flow-bin": "0.123.0", + "flow-bin": "0.124.0", "glob": "7.1.6", "nyc": "15.0.1", "rimraf": "3.0.2", diff --git a/src/createWebpackConfig.js b/src/createWebpackConfig.js index e05fbd78..d65e2d31 100644 --- a/src/createWebpackConfig.js +++ b/src/createWebpackConfig.js @@ -484,11 +484,7 @@ export function createPlugins( optimization.noEmitOnErrors = true } if (buildConfig.reactRefresh) { - // XXX disableRefreshCheck is currently required - // See https://github.com/pmmmwh/react-refresh-webpack-plugin/issues/15 - plugins.push(new ReactRefreshPlugin({ - disableRefreshCheck: true, - })) + plugins.push(new ReactRefreshPlugin()) } if (buildConfig.status) { plugins.push(new StatusPlugin(buildConfig.status))