diff --git a/config/webpack.config.dev.js b/config/webpack.config.dev.js
index 58d48b8a..6956cd3d 100644
--- a/config/webpack.config.dev.js
+++ b/config/webpack.config.dev.js
@@ -247,7 +247,7 @@ module.exports = {
// The public URL is available as %PUBLIC_URL% in index.html, e.g.:
//
// In development, this will be an empty string.
- new InterpolateHtmlPlugin(env.raw),
+ new InterpolateHtmlPlugin(HtmlWebpackPlugin, env.raw),
// Makes some environment variables available to the JS code, for example:
// if (process.env.NODE_ENV === 'development') { ... }. See `./env.js`.
new webpack.DefinePlugin(env.stringified),
diff --git a/config/webpack.config.prod.js b/config/webpack.config.prod.js
index 630e73e0..4e3b7739 100644
--- a/config/webpack.config.prod.js
+++ b/config/webpack.config.prod.js
@@ -293,7 +293,7 @@ module.exports = {
//
// In production, it will be an empty string unless you specify "homepage"
// in `package.json`, in which case it will be the pathname of that URL.
- new InterpolateHtmlPlugin(env.raw),
+ new InterpolateHtmlPlugin(HtmlWebpackPlugin, env.raw),
// Makes some environment variables available to the JS code, for example:
// if (process.env.NODE_ENV === 'production') { ... }. See `./env.js`.
// It is absolutely essential that NODE_ENV was set to production here.
diff --git a/package.json b/package.json
index b5a98782..b6ab6ac4 100644
--- a/package.json
+++ b/package.json
@@ -40,7 +40,7 @@
"elm-webpack-loader": "^5.0.0",
"file-loader": "^1.1.6",
"fs-extra": "^6.0.1",
- "html-webpack-plugin": "^3.0.7",
+ "html-webpack-plugin": "^4.0.0-alpha.2",
"http-proxy-middleware": "^0.17.4",
"mini-css-extract-plugin": "^0.4.0",
"minimist": "1.2.0",
@@ -48,7 +48,7 @@
"postcss-loader": "2.1.5",
"promise": "8.0.1",
"prompt": "1.0.0",
- "react-dev-utils": "6.0.0-next.3e165448",
+ "react-dev-utils": "6.1.1",
"react-error-overlay": "^4.0.0",
"string-replace-loader": "^2.1.1",
"style-loader": "^0.21.0",