about summary refs log tree commit diff
path: root/babel.config.js
diff options
context:
space:
mode:
authordan <dan.abramov@gmail.com>2024-11-01 22:17:05 +0000
committerGitHub <noreply@github.com>2024-11-01 22:17:05 +0000
commit7111e38cd48c1c7e2b35ae978708fcb7a60a5dd7 (patch)
treec83c83ff23f6095bf581c92db6df743a16255181 /babel.config.js
parent3eb531b00004f3752ec825350df1943c33028ac1 (diff)
downloadvoidsky-7111e38cd48c1c7e2b35ae978708fcb7a60a5dd7.tar.zst
Revert "React compiler beta and reenable rule (#5898)" (#6071)
This reverts commit 1fc684aaef6dd851b4d6c9a23673fcf4e7170722.
Diffstat (limited to 'babel.config.js')
-rw-r--r--babel.config.js7
1 files changed, 6 insertions, 1 deletions
diff --git a/babel.config.js b/babel.config.js
index ac872648f..c976d04b6 100644
--- a/babel.config.js
+++ b/babel.config.js
@@ -17,7 +17,12 @@ module.exports = function (api) {
     ],
     plugins: [
       'macros',
-      ['babel-plugin-react-compiler', {target: '18'}],
+      [
+        'babel-plugin-react-compiler',
+        {
+          runtimeModule: 'react-compiler-runtime',
+        },
+      ],
       [
         'module:react-native-dotenv',
         {