mirror of
https://gitcode.com/GitHub_Trending/ji/jitsi-meet.git
synced 2025-12-30 11:22:31 +00:00
17 lines
513 B
JavaScript
17 lines
513 B
JavaScript
module.exports = {
|
|
presets: [ 'module:metro-react-native-babel-preset' ],
|
|
env: {
|
|
production: {
|
|
plugins: [ 'react-native-paper/babel' ]
|
|
}
|
|
},
|
|
|
|
// This happens because react native has conflict with @babel/plugin-transform-private-methods plugin
|
|
// https://github.com/ethers-io/ethers.js/discussions/4309#discussioncomment-6694524
|
|
plugins: [ 'optional-require',
|
|
[ '@babel/plugin-transform-private-methods', {
|
|
'loose': true
|
|
} ]
|
|
]
|
|
};
|