Skip to content

Align default transform profile Babel preset with legacy Hermes - drop "older" engines#54806

Closed
robhogan wants to merge 1 commit into
mainfrom
export-D88269506
Closed

Align default transform profile Babel preset with legacy Hermes - drop "older" engines#54806
robhogan wants to merge 1 commit into
mainfrom
export-D88269506

Conversation

@robhogan

@robhogan robhogan commented Dec 5, 2025

Copy link
Copy Markdown
Contributor

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

meta-codesync Bot commented Dec 5, 2025

Copy link
Copy Markdown

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

facebook-github-bot pushed a commit that referenced this pull request Dec 9, 2025
…p "older" engines (#54806)

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: javache, huntie

Differential Revision: D88269506
@github-actions

Copy link
Copy Markdown

Job Summary for Gradle

Test All :: run_fantom_tests
Gradle Root Project Requested Tasks Gradle Version Build Outcome Build Scan®
react-native-github :private:react-native-fantom:buildFantomTester 9.0.0 Build Scan not published

…p "older" engines (#54806)

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: javache, huntie

Differential Revision: D88269506
@meta-codesync

meta-codesync Bot commented Dec 12, 2025

Copy link
Copy Markdown

This pull request has been merged in 07bd24e.

@facebook-github-bot facebook-github-bot added the Merged This PR has been merged. label Dec 12, 2025
@react-native-bot

Copy link
Copy Markdown
Collaborator

This pull request was successfully merged by @robhogan in 07bd24e

When will my fix make it into a release? | How to file a pick request?

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 Merged This PR has been merged. meta-exported p: Facebook Partner: Facebook Partner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants