From 59062e13261ad2a2890150601e722083483d128b Mon Sep 17 00:00:00 2001 From: James Hillyerd Date: Sun, 18 Nov 2018 08:39:34 -0800 Subject: [PATCH] ui: Enable compile-error dev server overlay, SPA routing --- ui/webpack.config.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/ui/webpack.config.js b/ui/webpack.config.js index 5676d39..47a009d 100644 --- a/ui/webpack.config.js +++ b/ui/webpack.config.js @@ -38,12 +38,18 @@ module.exports = { ], devServer: { inline: true, + historyApiFallback: true, hot: true, stats: { colors: true }, + overlay: true, + open: true, proxy: [{ context: ['/api', '/debug', '/serve'], target: 'http://localhost:9000', ws: true, }], + watchOptions: { + ignored: /node_modules/, + }, }, };