2019-08-20 19:24:22 +00:00
|
|
|
module.exports = {
|
|
|
|
presets: ['module:metro-react-native-babel-preset'],
|
2022-05-30 22:02:08 +00:00
|
|
|
plugins: [
|
|
|
|
['@babel/plugin-proposal-decorators', { legacy: true }],
|
|
|
|
'react-native-reanimated/plugin',
|
|
|
|
'@babel/plugin-transform-named-capturing-groups-regex'
|
|
|
|
],
|
2019-08-20 19:24:22 +00:00
|
|
|
env: {
|
|
|
|
production: {
|
|
|
|
plugins: ['transform-remove-console']
|
|
|
|
}
|
|
|
|
}
|
|
|
|
};
|