babel-plugin-remove-console-babel-5
v1.0.0
Published
Remove console.* calls
Downloads
3
Maintainers
Readme
babel-plugin-remove-console-babel-5
Babel 5 plugin to remove console.* calls
This preservses the npm package babel-plugin-remove-console for Babel 5 users. Former source location: https://github.com/babel-plugins/babel-plugin-remove-console
Installation
$ npm install babel-plugin-remove-console-babel-5
Usage
Via .babelrc
(Recommended)
.babelrc
{
"plugins": ["remove-console-babel-5"]
}
Via CLI
$ babel --plugins remove-console-babel-5 script.js
Via Node API
require("babel-core").transform("code", {
plugins: ["remove-console-babel-5"]
});