Created by: alexeyraspopov
This PR is an attempt to enable support for Flow Enums, as described in https://github.com/facebook/create-react-app/issues/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.