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.js8
1 files changed, 7 insertions, 1 deletions
diff --git a/babel.config.js b/babel.config.js
index 43b2c7bce..a54deca7c 100644
--- a/babel.config.js
+++ b/babel.config.js
@@ -19,6 +19,13 @@ module.exports = function (api) {
       ],
     ],
     plugins: [
+      'macros',
+      [
+        'babel-plugin-react-compiler',
+        {
+          runtimeModule: 'react-compiler-runtime',
+        },
+      ],
       [
         'module:react-native-dotenv',
         {
@@ -46,7 +53,6 @@ module.exports = function (api) {
           },
         },
       ],
-      'macros',
       'react-native-reanimated/plugin', // NOTE: this plugin MUST be last
     ],
     env: {