title: Webpack@5.66.0 Webpack dev server config: options has an unknown property 'stats'
body: <p>Invalid options object. Dev server has been initialized using an options object that does not match the API schema.</p>
  <ul>
  <li>optionshas an unknown property 'stats'. These properties are valid:
  object { allowedHost?, bonjour?, client?, compress?, devMiddleware?, headers?, historyApiFallback?, host?, hot?, http2?, https?, ipc?, liveReload?, magicHtml?, onAfterSetupMiddleware?, onBeforeSetupMiddleware?, onListening?, open?, port?, proxy?, server?, setupExitSignals?, setupMiddlewares?, static?, watchFiles?, webSocketServer? }</li>
  </ul>
  <p>webpack.dev.server.js</p>
  <pre><code>module.exports = function getDevServerConfig(options) {
  ...
  ...
  const devServer = {
  ...
  ...
  disableHostCheck: true,
  noInfo: false,
  stats: {
  assets: true,
  color: true
  }
  
  }
  
  }```
  </code></pre>