@achil/babel-plugin-console
v1.1.19
Published
> Replace console.log statements with a custom name to some expression statements
Downloads
53
Readme
babel-plugin-transform-custom-console
Replace console.log statements with a custom name, is not supposed to be used for general purposes
Usage
Via .babelrc
(Recommended)
.babelrc
{
"plugins": ["babel-plugin-transform-custom-console"]
}
Via CLI
babel --plugins babel-plugin-transform-custom-console script.js
Via Node API
require('babel-core').transform('code', {
plugins: ['babel-plugin-transform-custom-console']
});