babel-plugin-transform-remove-console
babel-plugin-transform-remove-console copied to clipboard
Simply not working?
Dude i have tried it out just like in the example and it just filters all my console.statements:
console.log('TEST LOG');
console.error('TEST ERROR');
Here is the part of the babelrc
"env": {
"production": {
"plugins": [
["transform-remove-console-enhance", {
"exclude": ["error"]
}]
]
}
}
Sorry about reply too late, I alway use this package in my project and work fine.
I am using it with react native. Maybe there is an issue?