Skip to content

Commit

Permalink
Fix babel config in the root project (#2717)
Browse files Browse the repository at this point in the history
## Description

With the upgrade to 0.73, `metro-react-native-babel-preset` got replaced
by `@react-native/babel-preset`, but I forgot to change it in the root
`babel.config.js`, which resulted in errors about a missing module being
shown when running lint. This PR fixes that.

## Test plan

Run `yarn lint:js-root`
  • Loading branch information
j-piasecki authored Mar 14, 2024
1 parent 20c5109 commit 042ec3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion babel.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ module.exports = {
presets: [
'@babel/preset-env',
'@babel/preset-typescript',
'module:metro-react-native-babel-preset',
'module:@react-native/babel-preset',
],
};

0 comments on commit 042ec3f

Please sign in to comment.