I am trying to remove console.logs with Webpack\'s Uglify plugin but it seems that Uglify plugin that comes bundled with Webpack doesn\'t have that option, its
console.logs
This is the new syntax for Webpack v4:
optimization: { minimizer: [ new UglifyJSPlugin({ uglifyOptions: { compress: { drop_console: true }, output: { comments: false } }, }), ], },