diff options
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', |