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

feat: support all the config resolving related babel options #334

Merged
merged 1 commit into from
Mar 5, 2019

Conversation

jquense
Copy link
Collaborator

@jquense jquense commented Mar 1, 2019

I realized trying to get this to work with gatsby in a monorepo that react-docgen doesn't have enough info to resolve my local configs and babelrc

README.md Show resolved Hide resolved
@danez
Copy link
Collaborator

danez commented Mar 1, 2019

maybe this will also help @fkling with this problem 60196fc#comments?

danez referenced this pull request Mar 1, 2019
* feat: use local babel config if it exists

* fix import deuplicates

* fix lock file
@jquense
Copy link
Collaborator Author

jquense commented Mar 5, 2019

ok readme fixed 👍

@danez danez merged commit f20470b into master Mar 5, 2019
@danez danez deleted the more-parser-options branch March 5, 2019 19:34
@fkling
Copy link
Member

fkling commented Mar 8, 2019

So, I figured out what the issue is: The CI environment has a babel config file in its root that gets picked up. However, the necessary packages are not installed (and I can't get them to).

I'd like to disable loading the babel config file from the file system and I thought babelrc: false would do that, but it doesn't seem to work? Am I missing something here?

@danez
Copy link
Collaborator

danez commented Mar 8, 2019

Project-wide configs can also be disabled by setting "configFile" to false.

If you use babel.config.js this applies.

https://babeljs.io/docs/en/config-files

@fkling
Copy link
Member

fkling commented Mar 11, 2019

Thanks, I have figured that out now as well 🤣 So many options...

@fkling
Copy link
Member

fkling commented Mar 11, 2019

Not sure if ignoring local config files is a common enough issue to have a command line flag for...

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 28, 2022
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.

None yet

3 participants