20 lines
411 B
JavaScript
20 lines
411 B
JavaScript
module.exports = {
|
|
presets: ['module:metro-react-native-babel-preset'],
|
|
plugins: ['react-native-reanimated/plugin', '@babel/plugin-transform-named-capturing-groups-regex'],
|
|
env: {
|
|
test: {
|
|
presets: [
|
|
'@babel/preset-react',
|
|
[
|
|
'@babel/preset-env',
|
|
{
|
|
targets: {
|
|
node: '14',
|
|
},
|
|
},
|
|
],
|
|
],
|
|
},
|
|
},
|
|
};
|