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

[compiler:babel] Don't read config files when not running as part of #29211

Merged
merged 9 commits into from
May 29, 2024

Conversation

poteto
Copy link
Member

@poteto poteto commented May 22, 2024

Stack from ghstack (oldest at bottom):

user's pipeline

When the user app has a babel.config file that is missing the compiler,
strange things happen as babel does some strange merging of options from
the user's config and in various callsites like in our eslint rule and
healthcheck script. To minimize odd behavior, we default to not reading
the user's babel.config

Fixes #29135

[ghstack-poisoned]
Copy link

vercel bot commented May 22, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
react-compiler-playground ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 29, 2024 2:47am

@facebook-github-bot facebook-github-bot added the React Core Team Opened by a member of the React Core Team label May 22, 2024
poteto added a commit that referenced this pull request May 22, 2024
user's pipeline

When the user app has a babel.config file that is missing the compiler,
strange things happen as babel does some strange merging of options from
the user's config and in various callsites like in our eslint rule and
healthcheck script. To minimize odd behavior, we default to not reading
the user's babel.config

ghstack-source-id: 88a3958db2c6332167c00c9413645b1d14d848f4
Pull Request resolved: #29211
poteto added a commit that referenced this pull request May 22, 2024
user's pipeline

When the user app has a babel.config file that is missing the compiler,
strange things happen as babel does some strange merging of options from
the user's config and in various callsites like in our eslint rule and
healthcheck script. To minimize odd behavior, we default to not reading
the user's babel.config

Fixes #29135

ghstack-source-id: 88a3958db2c6332167c00c9413645b1d14d848f4
Pull Request resolved: #29211
[ghstack-poisoned]
poteto added a commit that referenced this pull request May 22, 2024
user's pipeline

When the user app has a babel.config file that is missing the compiler,
strange things happen as babel does some strange merging of options from
the user's config and in various callsites like in our eslint rule and
healthcheck script. To minimize odd behavior, we default to not reading
the user's babel.config

Fixes #29135

ghstack-source-id: 5df2597983a0554d4c6698fe59a91ba8bd3f8e10
Pull Request resolved: #29211
@react-sizebot
Copy link

react-sizebot commented May 22, 2024

Comparing: a9a0106...8e5d071

Critical size changes

Includes critical production bundles, as well as any change greater than 2%:

Name +/- Base Current +/- gzip Base gzip Current gzip
oss-stable/react-dom/cjs/react-dom.production.js = 6.66 kB 6.66 kB = 1.82 kB 1.82 kB
oss-stable/react-dom/cjs/react-dom-client.production.js = 496.38 kB 496.38 kB = 88.84 kB 88.84 kB
oss-experimental/react-dom/cjs/react-dom.production.js = 6.67 kB 6.67 kB = 1.83 kB 1.83 kB
oss-experimental/react-dom/cjs/react-dom-client.production.js = 501.20 kB 501.20 kB = 89.53 kB 89.53 kB
facebook-www/ReactDOM-prod.classic.js = 593.81 kB 593.81 kB = 104.45 kB 104.45 kB
facebook-www/ReactDOM-prod.modern.js = 570.20 kB 570.20 kB = 100.85 kB 100.85 kB
test_utils/ReactAllWarnings.js Deleted 63.65 kB 0.00 kB Deleted 15.90 kB 0.00 kB

Significant size changes

Includes any change greater than 0.2%:

Expand to show
Name +/- Base Current +/- gzip Base gzip Current gzip
test_utils/ReactAllWarnings.js Deleted 63.65 kB 0.00 kB Deleted 15.90 kB 0.00 kB

Generated by 🚫 dangerJS against 8e5d071

[ghstack-poisoned]
poteto added a commit that referenced this pull request May 22, 2024
user's pipeline

When the user app has a babel.config file that is missing the compiler,
strange things happen as babel does some strange merging of options from
the user's config and in various callsites like in our eslint rule and
healthcheck script. To minimize odd behavior, we default to not reading
the user's babel.config

Fixes #29135

ghstack-source-id: 92b193508e7ce2951e487757b3bcad0a273f9e26
Pull Request resolved: #29211
[ghstack-poisoned]
poteto added a commit that referenced this pull request May 22, 2024
user's pipeline

When the user app has a babel.config file that is missing the compiler,
strange things happen as babel does some strange merging of options from
the user's config and in various callsites like in our eslint rule and
healthcheck script. To minimize odd behavior, we default to not reading
the user's babel.config

Fixes #29135

ghstack-source-id: f0fa887568c55a79b3dd9bd3f9bc0a4739c5aec0
Pull Request resolved: #29211
[ghstack-poisoned]
poteto added a commit that referenced this pull request May 29, 2024
user's pipeline

When the user app has a babel.config file that is missing the compiler,
strange things happen as babel does some strange merging of options from
the user's config and in various callsites like in our eslint rule and
healthcheck script. To minimize odd behavior, we default to not reading
the user's babel.config

Fixes #29135

ghstack-source-id: 1d9b7af02057718db9643c83f73ce827ab6ee40e
Pull Request resolved: #29211
[ghstack-poisoned]
poteto added a commit that referenced this pull request May 29, 2024
user's pipeline

When the user app has a babel.config file that is missing the compiler,
strange things happen as babel does some strange merging of options from
the user's config and in various callsites like in our eslint rule and
healthcheck script. To minimize odd behavior, we default to not reading
the user's babel.config

Fixes #29135

ghstack-source-id: 86daa0bc2390e02682675bc2fccb0bd83b64b7ac
Pull Request resolved: #29211
[ghstack-poisoned]
poteto added a commit that referenced this pull request May 29, 2024
user's pipeline

When the user app has a babel.config file that is missing the compiler,
strange things happen as babel does some strange merging of options from
the user's config and in various callsites like in our eslint rule and
healthcheck script. To minimize odd behavior, we default to not reading
the user's babel.config

Fixes #29135

ghstack-source-id: 5c3cb02f3254e0ccaf075ab5a3cd8b32714a1573
Pull Request resolved: #29211
[ghstack-poisoned]
poteto added a commit that referenced this pull request May 29, 2024
user's pipeline

When the user app has a babel.config file that is missing the compiler,
strange things happen as babel does some strange merging of options from
the user's config and in various callsites like in our eslint rule and
healthcheck script. To minimize odd behavior, we default to not reading
the user's babel.config

Fixes #29135

ghstack-source-id: 5c3cb02f3254e0ccaf075ab5a3cd8b32714a1573
Pull Request resolved: #29211
poteto added a commit that referenced this pull request May 29, 2024
user's pipeline

When the user app has a babel.config file that is missing the compiler,
strange things happen as babel does some strange merging of options from
the user's config and in various callsites like in our eslint rule and
healthcheck script. To minimize odd behavior, we default to not reading
the user's babel.config

Fixes #29135

ghstack-source-id: 5c3cb02f3254e0ccaf075ab5a3cd8b32714a1573
Pull Request resolved: #29211
[ghstack-poisoned]
poteto added a commit that referenced this pull request May 29, 2024
user's pipeline

When the user app has a babel.config file that is missing the compiler,
strange things happen as babel does some strange merging of options from
the user's config and in various callsites like in our eslint rule and
healthcheck script. To minimize odd behavior, we default to not reading
the user's babel.config

Fixes #29135

ghstack-source-id: d6fdc43c5c9107645f36718203873aa3f6228475
Pull Request resolved: #29211
@poteto poteto merged commit 8e5d071 into gh/poteto/10/base May 29, 2024
36 of 50 checks passed
poteto added a commit that referenced this pull request May 29, 2024
user's pipeline

When the user app has a babel.config file that is missing the compiler,
strange things happen as babel does some strange merging of options from
the user's config and in various callsites like in our eslint rule and
healthcheck script. To minimize odd behavior, we default to not reading
the user's babel.config

Fixes #29135

ghstack-source-id: d6fdc43c5c9107645f36718203873aa3f6228475
Pull Request resolved: #29211
@poteto poteto deleted the gh/poteto/10/head branch May 29, 2024 02:47
lakshmiji-jio pushed a commit to lakshmiji-jio/lakshmiji-react that referenced this pull request Jun 1, 2024
user's pipeline

When the user app has a babel.config file that is missing the compiler,
strange things happen as babel does some strange merging of options from
the user's config and in various callsites like in our eslint rule and
healthcheck script. To minimize odd behavior, we default to not reading
the user's babel.config

Fixes #29135

ghstack-source-id: 92b193508e7ce2951e487757b3bcad0a273f9e26
Pull Request resolved: facebook/react#29211
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed React Core Team Opened by a member of the React Core Team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants