title: How to disable logs in webpack?
body: <p>I'm trying to get rid of the logs that webpack creates , using the 5.73.0 version of webpack.
  My webpack configuration , about what's <a href="https://github.com/MkinG2k0/capacitor-project-template/tree/master/webpack" rel="nofollow noreferrer">here</a></p>
  <p>webpack.common.js</p>
  <pre class="lang-js prettyprint-override"><code>const path = require('path')
  const HtmlWebpackPlugin = require('html-webpack-plugin')
  const TsconfigPathsPlugin = require('tsconfig-paths-webpack-plugin')
  
  module.exports = {
    entry: path.resolve(__dirname, '..', './src/index.tsx'),
    resolve: {
      extensions: ['.tsx', '.ts', '.js'],
      plugins: [new TsconfigPathsPlugin({})]
    },
    module: {
      rules: [
        ...
      ]
    },
    output: {
      path: path.resolve(__dirname, '..', './build'),
      filename: 'bundle.js'
    },
    plugins: [
      new HtmlWebpackPlugin({
        template: path.resolve(__dirname, '..', './public/index.html')
      })
    ],
    stats: 'errors-only'
  }
  </code></pre>
  <p>webpack.dev.js</p>
  <pre class="lang-js prettyprint-override"><code>const ReactRefreshWebpackPlugin = require('@pmmmwh/react-refresh-webpack-plugin')
  const Dotenv = require('dotenv-webpack')
  
  module.exports = {
    mode: 'development',
    devtool: 'cheap-module-source-map',
    devServer: {
      hot: true,
  
      open: false,
      historyApiFallback: true,
      stats: 'minimal'
    },
    plugins: [
      new ReactRefreshWebpackPlugin(),
      new Dotenv({
        path: './.env'
      })
    ]
  }
  
  </code></pre>
  <p>Directly these same logs
  <a href="https://i.stack.imgur.com/yJu68.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/yJu68.png" alt="Directly these same logs" /></a></p>
  <p>and something incomprehensible is also happening in the network tab
  <a href="https://i.stack.imgur.com/OpLZa.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/OpLZa.png" alt="and something incomprehensible is also happening in the network tab" /></a></p>