module.exports = function (api) { api.cache(true); return { presets: ['module:@react-native/babel-preset'], plugins: [ [ 'module-resolver', { root: ['.'], extensions: [ '.ios.ts', '.android.ts', '.ts', '.ios.tsx', '.android.tsx', '.tsx', '.jsx', '.js', '.json', ], alias: { '@config': './src/config', '@constants': './src/constants', '@theme': './src/theme', '@layout': './src/layout', '@components': './src/components', '@screens': './src/screens', '@assets': './src/assets', '@utils': './src/utils', '@navigation': './src/navigation', '@actions': './src/actions', '@reducers': './src/reducers', '@store': './src/store', '@sagas': './src/sagas', '@containers': './src/containers', '@models': './src/models', '@api': './src/api' }, }, ], "react-native-reanimated/plugin", ], }; };