2023-05-06 13:50:14 -03:00

20 lines
454 B
JavaScript

const path = require('path');
const pak = require('../package.json');
module.exports = {
presets: ['module:metro-react-native-babel-preset'],
plugins: [
[
'module-resolver',
{
extensions: ['.tsx', '.ts', '.js', '.json'],
alias: {
[pak.name]: path.join(__dirname, '..', pak.source),
},
},
],
'@babel/plugin-proposal-export-namespace-from',
'react-native-reanimated/plugin',
],
};