diff options
author | dan <dan.abramov@gmail.com> | 2024-11-17 18:50:28 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-17 18:50:28 +0000 |
commit | 2f74a8dbe998c9b65a14038e9aa693e8ce980eba (patch) | |
tree | 45888d5f39da0f223ae75e1bb517f2443ad75fc0 /babel.config.js | |
parent | dd9a2f60ddee978b82d1310b0eaf1ba595b0b2aa (diff) | |
download | voidsky-2f74a8dbe998c9b65a14038e9aa693e8ce980eba.tar.zst |
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
Diffstat (limited to 'babel.config.js')
-rw-r--r-- | babel.config.js | 7 |
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', { |