Rocket.Chat.ReactNative/babel.config.js

15 lines
350 B
JavaScript

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