about summary refs log tree commit diff
path: root/babel.config.js
diff options
context:
space:
mode:
Diffstat (limited to 'babel.config.js')
-rw-r--r--babel.config.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/babel.config.js b/babel.config.js
index 598e2a567..706fdff5c 100644
--- a/babel.config.js
+++ b/babel.config.js
@@ -30,5 +30,10 @@ module.exports = function (api) {
       ],
       'react-native-reanimated/plugin', // NOTE: this plugin MUST be last
     ],
+    env: {
+      production: {
+        plugins: ['transform-remove-console'],
+      },
+    },
   }
 }