From 6aa37e1a76db07fb8f12ec0646b0840423391d74 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Tue, 21 Mar 2023 03:42:38 +0300 Subject: webpack: overlay configuration --- webpack.config.js | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'webpack.config.js') diff --git a/webpack.config.js b/webpack.config.js index 125f8e7e..e191be0d 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -75,6 +75,15 @@ module.exports = () => { } }; if (dev) { + config.devServer = { + hot: true, + historyApiFallback: true, + client: { + overlay: { + runtimeErrors: true + } + } + }; config.plugins.push( new ESLintPlugin({ files: 'src/main/assets', -- cgit v1.2.3