Webpack-remove-console plugin clears console by replacing console functions during bundling。
npm install webpack-remove-consoleWebpack-remove-console plugin clears console by replacing console functions during bundling。
> NOTE: Support Webpack4 and Webpack5
``bash`
npm install --save-dev webpack-remove-consoleor
yarn add -d webpack-remove-console
`js``
var WebpackRemoveConsole = require("webpack-remove-console");
module.exports = {
plugins: [
new WebpackRemoveConsole();
]
}