2019-08-13 13:03:46 +00:00
|
|
|
module.exports = {
|
|
|
|
presets: ['module:metro-react-native-babel-preset'],
|
2022-03-18 14:14:46 +00:00
|
|
|
plugins: [
|
|
|
|
['@babel/plugin-proposal-decorators', { legacy: true }],
|
|
|
|
'react-native-reanimated/plugin',
|
|
|
|
[
|
|
|
|
'module-resolver',
|
|
|
|
{
|
|
|
|
extensions: ['.ios.js', '.android.js', '.js', '.ts', '.tsx', '.json'],
|
|
|
|
alias: {
|
|
|
|
'@app': './app'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
],
|
2019-08-13 13:03:46 +00:00
|
|
|
env: {
|
|
|
|
production: {
|
|
|
|
plugins: ['transform-remove-console']
|
|
|
|
}
|
|
|
|
}
|
|
|
|
};
|