0.1.3 • Published 3 years ago
babel-plugin-console-remove v0.1.3
Babel Plugin to remove consoles
Installation
Install the plugin with:
npm install babel-plugin-console-remove
Then 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
}
]
]
}
0.1.3
3 years ago