-
Notifications
You must be signed in to change notification settings - Fork 6
Remove verbose logging #34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Please try // babel-plugin-macros.config.js
module.exports = {
'react-intl': {
verbose: false,
},
}; |
yes this works! thank you very much |
@evenchange4 do you know if this config option stuff works with create-react-app yet? I can open an issue in their repo but just wanted to check - I used the syntax for the It might be that the config stuff in babel macros is very new and the package hasn't been updated yet in CRA |
Yes it looks like at the time of this posting, CRA is still using 2.4.4 of babel-plugin-macros where the latest version 2.4.5 has a fix for the package json approach kentcdodds/babel-plugin-macros#100 so I'll just use one of the other methods for now |
opened facebook/create-react-app#6307 to see if maybe it will get included in the next release |
Is there a way to make the
console.log
statements only print out when babel's--verbose
flag is on? Right now the console is filled with these messages for every file.The text was updated successfully, but these errors were encountered: