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
Use this is better and works const UglifyEsPlugin = require('uglify-es-webpack-plugin')
module.exports = { plugins: [ new UglifyEsPlugin({ compress:{ drop_console: true } }), ] }