diff options
author | Samuel Newman <mozzius@protonmail.com> | 2024-10-30 02:47:39 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-30 02:47:39 +0000 |
commit | 1fc684aaef6dd851b4d6c9a23673fcf4e7170722 (patch) | |
tree | 69133e8c619646ab54b69a5dec6200070b1ada1f /babel.config.js | |
parent | a22685c34542d43a71c3496df28e86207ec7fbed (diff) | |
download | voidsky-1fc684aaef6dd851b4d6c9a23673fcf4e7170722.tar.zst |
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
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', { |