From 7111e38cd48c1c7e2b35ae978708fcb7a60a5dd7 Mon Sep 17 00:00:00 2001 From: dan Date: Fri, 1 Nov 2024 22:17:05 +0000 Subject: Revert "React compiler beta and reenable rule (#5898)" (#6071) This reverts commit 1fc684aaef6dd851b4d6c9a23673fcf4e7170722. --- babel.config.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'babel.config.js') 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', { -- cgit 1.4.1