fix: resolve Expo SDK 54 compatibility issues and React 19 JSX runtime errors
This commit is contained in:
9
client/babel.config.js
Normal file
9
client/babel.config.js
Normal file
@@ -0,0 +1,9 @@
|
||||
module.exports = function (api) {
|
||||
api.cache(true);
|
||||
return {
|
||||
presets: ['babel-preset-expo'],
|
||||
plugins: [
|
||||
['@babel/plugin-transform-react-jsx', { runtime: 'automatic' }]
|
||||
]
|
||||
};
|
||||
};
|
||||
Reference in New Issue
Block a user