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
This commit is contained in:
Samuel Newman
2024-10-30 02:47:39 +00:00
committed by GitHub
parent a22685c345
commit 1fc684aaef
6 changed files with 30 additions and 125 deletions
+1 -6
View File
@@ -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',
{