electron-userland / electron-webpack-quick-start

A bare minimum project structure to get started developing with electron-webpack.
https://webpack.electron.build/
730 stars 258 forks source link

Cannot disable/silent logs #48

Closed wyxos closed 6 years ago

wyxos commented 6 years ago

I have a webpack.config.js file on root with the following

module.exports = {
  module: {
    rules: [
      {
        test: /\.js$/,
        exclude: /node_modules/,
        loader: 'eslint-loader',
        enforce: 'pre',
        options: {
          formatter: require('eslint-friendly-formatter')
        }
      }
    ]
  },
  devServer: {
    clientLogLevel: 'error',
    quiet: true,
    info: false,
    overlay: true
  },
  stats: 'errors-only'
};

I observe that the rule is being indeed applied as well as the overlay: true config. However, there's still a lot of noise within the terminal and none of the other settings seems to make any difference.

What is the right way to report only errors from electron-webpack?

Version used 2.3.1

wyxos commented 6 years ago

Wrong repo, was meant to post on electron-webpack