- app.json: newArchEnabledをtrueに設定し、kotlinVersionを2.1.20に更新 - babel.config.js: lazyImportsを有効化し、react-native-reanimated/pluginを追加 - metro.config.js: experimentalImportSupportを有効化 - package.json: react-native-reanimated-carouselを4.0.3に更新 - 新しいプラグインwith-android-local-propertiesを追加 - 新しいドキュメントnew-architecture-migration-plan.mdを作成 - その他のファイルでの軽微な修正
16 lines
321 B
JavaScript
16 lines
321 B
JavaScript
module.exports = function(api) {
|
|
api.cache(true);
|
|
return {
|
|
presets: [
|
|
['babel-preset-expo', {
|
|
'react-compiler': { enabled: false },
|
|
lazyImports: true,
|
|
}],
|
|
],
|
|
plugins: [
|
|
'./plugins/babel-plugin-disable-font-scaling',
|
|
'react-native-reanimated/plugin',
|
|
],
|
|
};
|
|
};
|