Rocket.Chat.ReactNative/babel.config.js

15 lines
350 B
JavaScript
Raw Normal View History

module.exports = {
presets: ['module:metro-react-native-babel-preset'],
plugins: [
['@babel/plugin-proposal-decorators', { legacy: true }],
'react-native-reanimated/plugin',
2023-02-27 18:20:25 +00:00
'@babel/plugin-transform-named-capturing-groups-regex',
['module:react-native-dotenv']
],
env: {
production: {
plugins: ['transform-remove-console']
}
}
};