Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update babel config to transpile nullish-coalescing-operator #1034

Merged
merged 1 commit into from Oct 31, 2022

Conversation

wcandillon
Copy link
Collaborator

fixes #1030

This PR adds the babelrc config file, which is a copy of the config used in bob-build (the one we use: https://github.com/callstack/react-native-builder-bob/blob/main/packages/react-native-builder-bob/src/utils/compile.ts#L65) and extends it with @babel/plugin-proposal-nullish-coalescing-operator

@wcandillon wcandillon self-assigned this Oct 29, 2022
@@ -0,0 +1,33 @@
{
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@chrfalch this is the same config we used previously, we just copied it so we can extend it.

@wcandillon wcandillon merged commit 627e732 into main Oct 31, 2022
@wcandillon wcandillon deleted the nullish-coalescing-operator branch January 16, 2023 15:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

The JS files are incompatible with Expo Web
1 participant