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

Add babel-plugin-transform-flow-enums to Babel config for Flow Enums support #11447

Closed
wants to merge 1 commit into from

Conversation

alexeyraspopov
Copy link
Contributor

This PR is an attempt to enable support for Flow Enums, as described in #11433. CRA already uses required version of Babel, so only the necessary transform plugin is needed. The rest of the steps to enable Flow Enums are supposed to be covered by the user: enabling the option in .flowconfig and installing flow-enums-runtime.

I tested my changes by running npm run e2e.

Please let me know if any docs needs to be updated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants