We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi, Just for understanding purpose to check either i misunderstood or a bug.
In babel-preset-react-app package between this lines (https://github.com/facebookincubator/create-react-app/blob/master/packages/babel-preset-react-app/index.js#L56-L63) you are adding two react-plugins for development/test mode.
Now lines (https://github.com/facebookincubator/create-react-app/blob/master/packages/babel-preset-react-app/index.js#L80-L88) will add full babel-react-preset itself which contains those two packages as dependencies
Now can help me understand why we are adding separately once again on top ?
The text was updated successfully, but these errors were encountered:
Thanks for the question @bboysathish! babel-preset-react does have those plugins as dependencies, but if you look at the source code, it does not enable them at the moment.
babel-preset-react
Here's a discussion in the Babel repository about adding them to the preset: babel/babel#4702
Sorry, something went wrong.
@fson Thanks for the info. Made a pull request to explain.
No branches or pull requests
Hi,
Just for understanding purpose to check either i misunderstood or a bug.
In babel-preset-react-app package between this lines (https://github.com/facebookincubator/create-react-app/blob/master/packages/babel-preset-react-app/index.js#L56-L63) you are adding two react-plugins for development/test mode.
Now lines (https://github.com/facebookincubator/create-react-app/blob/master/packages/babel-preset-react-app/index.js#L80-L88) will add full babel-react-preset itself which contains those two packages as dependencies
Now can help me understand why we are adding separately once again on top ?
The text was updated successfully, but these errors were encountered: