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

Adding support for custom babel configuration #1357

Closed

Conversation

tuchk4
Copy link
Contributor

@tuchk4 tuchk4 commented Jan 6, 2017

With this PR It is possible to override builtin babel presets and plugins via .babelrc or package.json.

Note: Don't forget to install "babel-preset-react-app" and include "react-app" preset into your .babelrc or package.json babel configuration section.

via .babelrc

{
  "presets": ["react-app", "stage-0"]
}

or via package.json

...
"babel": {
    "presets": ["react-app", "stage-0"]
  }
...

Now is possible to use:

NOTE: If using custom babel with "babel-preset-react-app" preset - you will get warning message if "babel-preset-react-app" latest version is not range of your local version

@tuchk4 tuchk4 force-pushed the feature/support-local-babel-config branch from 5cc9f97 to 0b6a5f3 Compare January 6, 2017 17:53
@gaearon
Copy link
Contributor

gaearon commented Feb 12, 2017

Thanks for the PR! We definitely won't be supporting Babel config in the close future, for reasons described in many past issues and PRs concerning this. Cheers!

@gaearon gaearon closed this Feb 12, 2017
@tuchk4 tuchk4 mentioned this pull request Feb 20, 2017
@lock lock bot locked and limited conversation to collaborators Jan 21, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants