Skip to content

Commit

Permalink
Update dependencies
Browse files Browse the repository at this point in the history
Remove deprecated disableRefreshCheck config for ReactRefreshPlugin
  • Loading branch information
insin committed May 12, 2020
1 parent 9cd54fb commit c927565
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 8 deletions.
2 changes: 2 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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

Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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": {
Expand All @@ -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",
Expand Down
6 changes: 1 addition & 5 deletions src/createWebpackConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit c927565

Please sign in to comment.