title: Remove console.log with TerserWebpackPlugin
body: <p>I have a version <strong>4.23.1</strong> of Webpack and use TerserWebpackPlugin to minify my project.
  I want to drop console.log on production, but it doesn't work.
  I tried UglifyJsplugin and neither.</p>
  
  <p>This is my <strong>webpack.config.js</strong> file:</p>
  
  <pre><code>var path = require('path')
  var webpack = require('webpack')
  const bundleOutputDir = './wwwroot/dist';
  const VueLoaderPlugin = require('vue-loader/lib/plugin')
  const configs = require('./wwwroot/js/config')
  const TerserPlugin = require('terser-webpack-plugin');
  
  module.exports = {
    mode: 'production',
    optimization:{
      minimizer:[
        new TerserPlugin({
          terserOptions:{
            cache: true,
            parallel: true,
            sourceMap: false,
            compress:{
              drop_console: true,          
            }           
          }
        })
      ]
    },
    context: __dirname,
    entry: {
      main: ['babel-polyfill', './App/index.js']
    },
    plugins:[
      new VueLoaderPlugin(),
      new webpack.DefinePlugin({
        'SERVICE_URL': JSON.stringify(configs.url),
      }),        
    ],
    module: {
      rules: [...]
    },
    resolve: {...},
    devServer: {
      historyApiFallback: true,
      noInfo: false,
      overlay: true
    },
    performance: {
      hints: false
    },
    output: {
      path: path.join(__dirname, bundleOutputDir),
      filename: '[name].js',
      publicPath: 'dist/'
    },
    devtool: '#eval-source-map'
  }
  </code></pre>