aboutsummaryrefslogtreecommitdiff
path: root/webpack.config.js
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2023-03-21 03:42:38 +0300
committerGravatar Vitaly Takmazov2023-03-21 03:42:38 +0300
commit6aa37e1a76db07fb8f12ec0646b0840423391d74 (patch)
tree9d15b8edc1575bb923f53e9599abb08c596f4d21 /webpack.config.js
parentc1e0af60f3db17b0fc97fbae1aebb5320dd22d27 (diff)
webpack: overlay configuration
Diffstat (limited to 'webpack.config.js')
-rw-r--r--webpack.config.js9
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',