diff options
author | Vitaly Takmazov | 2023-03-21 03:42:38 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2023-03-21 03:42:38 +0300 |
commit | 6aa37e1a76db07fb8f12ec0646b0840423391d74 (patch) | |
tree | 9d15b8edc1575bb923f53e9599abb08c596f4d21 /webpack.config.js | |
parent | c1e0af60f3db17b0fc97fbae1aebb5320dd22d27 (diff) |
webpack: overlay configuration
Diffstat (limited to 'webpack.config.js')
-rw-r--r-- | webpack.config.js | 9 |
1 files changed, 9 insertions, 0 deletions
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', |