diff --git a/index.js b/index.js index 302cfd8af..94cff43a3 100644 --- a/index.js +++ b/index.js @@ -8,6 +8,16 @@ joypixels.ascii = true; if (__DEV__) { require('./app/ReactotronConfig'); +} else { + console.log = () => {}; + console.time = () => {}; + console.timeLog = () => {}; + console.timeEnd = () => {}; + console.warn = () => {}; + console.count = () => {}; + console.countReset = () => {}; + console.error = () => {}; + console.info = () => {}; } AppRegistry.registerComponent(appName, () => require('./app/index').default);