diff options
-rw-r--r-- | vnext/server/webpack.config.js | 4 | ||||
-rw-r--r-- | webpack.config.js | 9 |
2 files changed, 12 insertions, 1 deletions
diff --git a/vnext/server/webpack.config.js b/vnext/server/webpack.config.js index d898c796..61f00d4d 100644 --- a/vnext/server/webpack.config.js +++ b/vnext/server/webpack.config.js @@ -51,7 +51,9 @@ module.exports = () => { hot: true, historyApiFallback: true, client: { - overlay: true + overlay: { + runtimeErrors: true + } } }; } 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', |