From 42ea4545eec4f0bf282b7764c26564feb682768c Mon Sep 17 00:00:00 2001 From: Justin Tracey Date: Mon, 24 Jan 2022 17:08:39 +0000 Subject: [PATCH] Update webpack.config.js This fixes broken dev builds introduced by 11d53f1. See: https://github.com/webpack/webpack-dev-server/blob/master/migration-v4.md --- webpack.config.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/webpack.config.js b/webpack.config.js index 99f9dd5..49de089 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -14,7 +14,9 @@ module.exports = { path: path.resolve(__dirname, 'build'), }, devServer: { - contentBase: path.resolve(__dirname, 'build') + static: { + directory: path.resolve(__dirname, 'build') + }, }, devtool: 'source-map', plugins: [