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:
@@ -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/,
|
||||||
|
},
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user