Skip to content

Conversation

@robhogan
Copy link
Contributor

@robhogan robhogan commented Dec 5, 2025

Summary:
Align the default transform profile in our Babel preset with the current state of hermes-stable, drop non-Hermes, pre-ES6 engines which have been unsupported in core since the JSC removal.

This will allow us to subsequently repurpose transform profiles (unstable_transformProfile) to remove transforms unnecessary for Hermes v1 (aka Static Hermes) as follows:

  • hermes-canary -> Hermes v1 (experimental features)
  • hermes-stable -> Hermes v1
  • Default -> All supported engines (i.e, Hermes v1 and legacy)

Changelog:

[General][Removed] Remove Babel preset transforms for already-unsupported non-Hermes engines

Reviewed By: huntie

Differential Revision: D88269506

…p "older" engines

Summary:
Align the default transform profile in our Babel preset with the current state of `hermes-stable`, drop non-Hermes, pre-ES6 engines which have been unsupported in core since the JSC removal.

This will allow us to subsequently repurpose transform profiles (`unstable_transformProfile`) to remove transforms unnecessary for Hermes v1 (aka Static Hermes) as follows:

- `hermes-canary` -> Hermes v1 (experimental features)
- `hermes-stable` -> Hermes v1
- Default -> All supported engines (i.e, Hermes v1 and legacy)

Changelog:

[General][Removed] Remove Babel preset transforms for already-unsupported non-Hermes engines

Reviewed By: huntie

Differential Revision: D88269506
@meta-cla meta-cla bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Dec 5, 2025
@meta-codesync
Copy link

meta-codesync bot commented Dec 5, 2025

@robhogan has exported this pull request. If you are a Meta employee, you can view the originating Diff in D88269506.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported meta-exported p: Facebook Partner: Facebook Partner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants