webpack-remove-console

0.0.1 • Public • Published

webpack-remove-console

Webpack-remove-console plugin clears console by replacing console functions during bundling。

NOTE: Support Webpack4 and Webpack5

Installation

The plugin is available via npm:

npm install --save-dev webpack-remove-console
# or
yarn add -d webpack-remove-console

Usage

var WebpackRemoveConsole = require("webpack-remove-console");
 
module.exports = {
 plugins: [
    new WebpackRemoveConsole();
  ]
}

/webpack-remove-console/

    Package Sidebar

    Install

    npm i webpack-remove-console

    Weekly Downloads

    8

    Version

    0.0.1

    License

    MIT

    Unpacked Size

    2.9 kB

    Total Files

    4

    Last publish

    Collaborators

    • wavenote