about summary refs log tree commit diff
path: root/babel.config.js
diff options
context:
space:
mode:
authorSamuel Newman <mozzius@protonmail.com>2024-10-30 02:47:39 +0000
committerGitHub <noreply@github.com>2024-10-30 02:47:39 +0000
commit1fc684aaef6dd851b4d6c9a23673fcf4e7170722 (patch)
tree69133e8c619646ab54b69a5dec6200070b1ada1f /babel.config.js
parenta22685c34542d43a71c3496df28e86207ec7fbed (diff)
downloadvoidsky-1fc684aaef6dd851b4d6c9a23673fcf4e7170722.tar.zst
React compiler beta and reenable rule (#5898)
* use react compiler beta and reenable rule

* use react-compiler-runtime

* error -> warn

* move runtime out of dev deps
Diffstat (limited to 'babel.config.js')
-rw-r--r--babel.config.js7
1 files changed, 1 insertions, 6 deletions
diff --git a/babel.config.js b/babel.config.js
index c976d04b6..ac872648f 100644
--- a/babel.config.js
+++ b/babel.config.js
@@ -17,12 +17,7 @@ module.exports = function (api) {
     ],
     plugins: [
       'macros',
-      [
-        'babel-plugin-react-compiler',
-        {
-          runtimeModule: 'react-compiler-runtime',
-        },
-      ],
+      ['babel-plugin-react-compiler', {target: '18'}],
       [
         'module:react-native-dotenv',
         {