js-dxtools / webpack-validator

Validates your webpack config with Joi
MIT License
295 stars 29 forks source link

[devServer] missing setup property #143

Closed M3lkior closed 7 years ago

M3lkior commented 7 years ago

Hi,

missing setup property in availables options :

From https://webpack.github.io/docs/webpack-dev-server.html#api

 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' });
    // });
  },
kentcdodds commented 7 years ago

Thanks for bringing this up. Feel free to makeapullrequest.com :)

M3lkior commented 7 years ago

Done @kentcdodds ;)