disable debug mode react native code example
Example: will console.log will be automatically disabled in react native for development build
{
"presets": ["react-native"],
"env": {
"production": {
"plugins": ["transform-remove-console"]
}
}
}