Skip to content

Commit 7d3a7dc

Browse files
authored
🐛(babel config) reanimated 2.3.x babel configuration
2 parents 7240f24 + bb9191f commit 7d3a7dc

File tree

1 file changed

+11
-9
lines changed

1 file changed

+11
-9
lines changed

template/babel.config.js

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,19 @@
11
const presets = ['module:metro-react-native-babel-preset']
22
const plugins = []
33

4-
plugins.push([
5-
'module-resolver',
6-
{
7-
root: ['./src'],
8-
extensions: ['.js', '.json'],
9-
alias: {
10-
'@': './src',
4+
plugins.push(
5+
[
6+
'module-resolver',
7+
{
8+
root: ['./src'],
9+
extensions: ['.js', '.json'],
10+
alias: {
11+
'@': './src',
12+
},
1113
},
12-
},
14+
],
1315
'react-native-reanimated/plugin',
14-
])
16+
)
1517

1618
module.exports = {
1719
presets,

0 commit comments

Comments
 (0)