mirror of
https://github.com/jhillyerd/inbucket.git
synced 2025-12-17 09:37:02 +00:00
ui: Enable compile-error dev server overlay, SPA routing
This commit is contained in:
@@ -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/,
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user