2019-08-13 13:03:46 +00:00
|
|
|
module.exports = {
|
|
|
|
presets: ['module:metro-react-native-babel-preset'],
|
2022-05-23 17:24:30 +00:00
|
|
|
plugins: [
|
|
|
|
['@babel/plugin-proposal-decorators', { legacy: true }],
|
|
|
|
'react-native-reanimated/plugin',
|
2023-03-07 12:28:51 +00:00
|
|
|
'@babel/plugin-transform-named-capturing-groups-regex',
|
|
|
|
['module:react-native-dotenv']
|
2022-05-23 17:24:30 +00:00
|
|
|
],
|
2019-08-13 13:03:46 +00:00
|
|
|
env: {
|
|
|
|
production: {
|
|
|
|
plugins: ['transform-remove-console']
|
|
|
|
}
|
|
|
|
}
|
|
|
|
};
|