README.md 411 Bytes

babel-plugin-remove-console

Remove console.* calls

Installation

$ npm install babel-plugin-remove-console

Usage

Via .babelrc (Recommended)

.babelrc

{
  "plugins": ["remove-console"]
}

Via CLI

$ babel --plugins remove-console script.js

Via Node API

require("babel-core").transform("code", {
  plugins: ["remove-console"]
});