2021-02-23 03:57:43 -07:00
|
|
|
/* eslint-disable @typescript-eslint/no-var-requires */
|
2021-02-19 08:07:53 -07:00
|
|
|
const path = require('path');
|
|
|
|
const pak = require('../package.json');
|
|
|
|
|
|
|
|
module.exports = {
|
|
|
|
presets: ['module:metro-react-native-babel-preset'],
|
|
|
|
plugins: [
|
2023-02-13 07:22:45 -07:00
|
|
|
['react-native-reanimated/plugin'],
|
|
|
|
['react-native-worklets/plugin'],
|
2021-02-19 08:07:53 -07:00
|
|
|
[
|
|
|
|
'module-resolver',
|
|
|
|
{
|
|
|
|
alias: {
|
|
|
|
[pak.name]: path.join(__dirname, '..', pak.source),
|
|
|
|
},
|
|
|
|
},
|
|
|
|
],
|
|
|
|
],
|
|
|
|
};
|