babel-plugin-console-remove
v0.1.3
Published
remove console information, includes log/debug/error/info/warn
Downloads
18
Readme
Babel Plugin to remove consoles
Installation
Install the plugin with:
npm install babel-plugin-console-removeThen add the plugin to .babelrc:
{
"plugins": ["babel-plugin-console-remove"]
}or you maybe only want to remove some kinds of console
{
"plugins":
[
[
"babel-plugin-console-remove",
{
option: 'info,error', // default warn info error debug log
}
]
]
}