1
0
mirror of https://github.com/jhillyerd/inbucket.git synced 2025-12-17 17:47:03 +00:00

ui: Enable compile-error dev server overlay, SPA routing

This commit is contained in:
James Hillyerd
2018-11-18 08:39:34 -08:00
parent 019bd11309
commit 59062e1326

View File

@@ -38,12 +38,18 @@ module.exports = {
], ],
devServer: { devServer: {
inline: true, inline: true,
historyApiFallback: true,
hot: true, hot: true,
stats: { colors: true }, stats: { colors: true },
overlay: true,
open: true,
proxy: [{ proxy: [{
context: ['/api', '/debug', '/serve'], context: ['/api', '/debug', '/serve'],
target: 'http://localhost:9000', target: 'http://localhost:9000',
ws: true, ws: true,
}], }],
watchOptions: {
ignored: /node_modules/,
},
}, },
}; };