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

Remove BUILD_EXCLUDE_BABEL_REGISTER #44387

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Commits on May 2, 2024

  1. conditional Babel registration no longer necessary

    Summary:
    Packages that are built and directly run in the monorepo no longer need to worry about
    conditionally registering themselves to transpile Flow -> JS at runtime. Our build step
    strips this file now.
    
    Differential Revision: D56839521
    blakef authored and facebook-github-bot committed May 2, 2024
    Configuration menu
    Copy the full SHA
    542846f View commit details
    Browse the repository at this point in the history
  2. remove "main" package.json entry

    Summary:
    Conform to the style of other packages that are build using the monorepo build script.
    
    Changelog: [Internal]
    
    Differential Revision: D56879279
    blakef authored and facebook-github-bot committed May 2, 2024
    Configuration menu
    Copy the full SHA
    3905560 View commit details
    Browse the repository at this point in the history
  3. Remove BUILD_EXCLUDE_BABEL_REGISTER

    Summary: Cleaning up this env, which became redundant after D56762162.  We do, however still check if running under Jest to skip inline transpilation if [process.env.JEST_WORKER_ID](https://jestjs.io/docs/environment-variables#jest_worker_id) exists.
    
    Differential Revision: D56879413
    blakef authored and facebook-github-bot committed May 2, 2024
    Configuration menu
    Copy the full SHA
    120b193 View commit details
    Browse the repository at this point in the history