From 2f74a8dbe998c9b65a14038e9aa693e8ce980eba Mon Sep 17 00:00:00 2001 From: dan Date: Sun, 17 Nov 2024 18:50:28 +0000 Subject: Upgrade React Compiler (take two) (#6460) * Revert "Revert "React compiler beta and reenable rule (#5898)" (#6071)" This reverts commit 7111e38cd48c1c7e2b35ae978708fcb7a60a5dd7. * Update the compiler * Don't inline compiler runtime import --- babel.config.js | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'babel.config.js') 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', { -- cgit 1.4.1