mirror of
https://github.com/status-im/react-native.git
synced 2025-02-06 06:34:01 +00:00
Remove RCTLog from prod builds
Reviewed By: javache Differential Revision: D3437532 fbshipit-source-id: 973491fe74614d381a173a067fb2dd376e14a36a
This commit is contained in:
parent
1579a72ca6
commit
5db4aad347
@ -50,7 +50,9 @@ function setUpConsole() {
|
||||
const ExceptionsManager = require('ExceptionsManager');
|
||||
ExceptionsManager.installConsoleErrorReporter();
|
||||
|
||||
require('RCTLog');
|
||||
if (__DEV__) {
|
||||
require('RCTLog');
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user