2022-06-30 06:50:52 +00:00
|
|
|
module.exports = {
|
|
|
|
presets: ['module:metro-react-native-babel-preset'],
|
2022-10-31 00:20:36 +00:00
|
|
|
plugins: [
|
|
|
|
'@babel/plugin-transform-flow-strip-types',
|
2022-10-31 08:00:10 +00:00
|
|
|
['@babel/plugin-proposal-decorators', {legacy: true}],
|
|
|
|
['@babel/plugin-proposal-class-properties', {loose: true}],
|
2022-10-31 00:20:36 +00:00
|
|
|
'react-native-reanimated/plugin',
|
|
|
|
'react-native-paper/babel',
|
|
|
|
],
|
2022-07-09 00:49:07 +00:00
|
|
|
env: {
|
|
|
|
production: {
|
|
|
|
plugins: ['transform-remove-console'],
|
|
|
|
},
|
|
|
|
},
|
2022-10-31 08:00:10 +00:00
|
|
|
}
|