Skip to content

fix: Skip loading project's babel config#102

Closed
pawelgrimm wants to merge 1 commit intomainfrom
pawel/fix/skip-local-babel-config
Closed

fix: Skip loading project's babel config#102
pawelgrimm wants to merge 1 commit intomainfrom
pawel/fix/skip-local-babel-config

Conversation

@pawelgrimm
Copy link
Copy Markdown

Summary

We found that running react-compiler-tracker would always use the consuming project's babel.config.js, which could overwrite react-compiler-tracker's babel config. We are turning off babel.config.js and .babelrc lookups to prevent this behavior.

@pawelgrimm pawelgrimm requested a review from frankieyan April 1, 2026 01:59
@frankieyan
Copy link
Copy Markdown
Member

Aiming to release this after #104 to trigger a release with semantic release

@pawelgrimm
Copy link
Copy Markdown
Author

Upon further inspection, the problem was more that:

  1. The consuming repo's babel.config.js had issues at runtime, and
  2. react-compiler-tracker didn't surface the error thrown by babel when running the consuming repo's config

@pawelgrimm pawelgrimm closed this Apr 2, 2026
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