-
-
Notifications
You must be signed in to change notification settings - Fork 26.7k
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
Ejecting should keep .babelrc treated as root #1066
Comments
@gaearon If the project already has a |
It is not supported to have |
@gaearon Currently, we fail ejecting if we have |
@gaearon any clue about it? I can work on it if you give me the first clue about where I should start. |
Any clue about what specifically? |
PR #3803 opened to try to add this validation. |
eslint has edit: related discussion: babel/babel#6766 |
Maybe we could use e.g. from |
Babel will stop searching up the directory hierarchy when it encounters:
I believe that means this should be fine as long as you create the |
This issue has been automatically marked as stale because it has not had any recent activity. It will be closed in 7 days if no further activity occurs. |
Not sure there's an easy way to fix it but I think that after we eject and generate
babel
config inpackage.json
it may start looking for more configs in parent folders (which it doesn't do now thanks to this).If my understanding is correct this might "break" projects on ejecting if there are
.babelrc
in parent folders.Help wanted: confirm whether it's an issue, and if it is, propose a fix.
The text was updated successfully, but these errors were encountered: