From 1fc684aaef6dd851b4d6c9a23673fcf4e7170722 Mon Sep 17 00:00:00 2001 From: Samuel Newman Date: Wed, 30 Oct 2024 02:47:39 +0000 Subject: 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 --- 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