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…
Reference in New Issue