Webpack V4: Remove console.logs with Webpack & Uglify
You're still putting it in config.plugins, have you tried putting it in config.optimization.minimizer?
const UglifyJSPlugin = require('uglifyjs-webpack-plugin')
...
optimization: {
minimizer: [
new UglifyJSPlugin({
uglifyOptions: {
compress: {
drop_console: true,
}
}
})
]
}