setup: function(app) {
// Here you can access the Express app object and add your own custom middleware to it.
// For example, to define custom handlers for some paths:
// app.get('/some/path', function(req, res) {
// res.json({ custom: 'response' });
// });
},
Hi,
missing
setup
property in availables options :From https://webpack.github.io/docs/webpack-dev-server.html#api