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

Ignore babel.config.js to avoid incompatible plugins #8

Merged

Conversation

coreyfarrell
Copy link
Contributor

This will fix issues where some babel plugins such as @babel/plugin-transform-modules-commonjs used in a local project babel.config.js will cause caller-path to skip files transformed by import-jsx. I think this becomes a problem for recursive import-jsx - one JSX importing another such as what happens in treport. Since babelrc: false is already provided I assume configFile: false was just missed when upgrading to babel 7.

Ref tapjs/tapjs#624

@vadimdemedes
Copy link
Owner

Makes sense, thanks!

@vadimdemedes vadimdemedes changed the title Ignore babel.config.js to avoid incompatible plugins. Ignore babel.config.js to avoid incompatible plugins Jan 12, 2020
@vadimdemedes vadimdemedes merged commit 350de3c into vadimdemedes:master Jan 12, 2020
@vadimdemedes
Copy link
Owner

Released in 3.1.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants