Babel preset: Add unstable_preserveAsync to experiment with disabling async transforms for SH (#56254)#56254
Closed
Babel preset: Add unstable_preserveAsync to experiment with disabling async transforms for SH (#56254)#56254
Conversation
meta-codesync bot
pushed a commit
that referenced
this pull request
Mar 27, 2026
… async transforms for SH (#56254) Summary: Disable `babel/plugin-transform-async-to-generator` and `babel/plugin-transform-async-generator-functions` when `customTransformOptions.unstable_preserveAsync` is truthy. This allows us to experiment with native async/await support in Static Hermes. Changelog: [Internal] Reviewed By: vzaidman Differential Revision: D93013928
d146d9e to
0d369d2
Compare
meta-codesync bot
pushed a commit
that referenced
this pull request
Mar 27, 2026
… async transforms for SH (#56254) Summary: Disable `babel/plugin-transform-async-to-generator` and `babel/plugin-transform-async-generator-functions` when `customTransformOptions.unstable_preserveAsync` is truthy. This allows us to experiment with native async/await support in Static Hermes. Changelog: [Internal] Reviewed By: vzaidman Differential Revision: D93013928
0d369d2 to
766cc19
Compare
robhogan
added a commit
that referenced
this pull request
Mar 27, 2026
… async transforms for SH (#56254) Summary: Pull Request resolved: #56254 Disable `babel/plugin-transform-async-to-generator` and `babel/plugin-transform-async-generator-functions` when `customTransformOptions.unstable_preserveAsync` is truthy. This allows us to experiment with native async/await support in Static Hermes. Changelog: [Internal] Reviewed By: vzaidman Differential Revision: D93013928
766cc19 to
ebefed4
Compare
Collaborator
|
This pull request was successfully merged by @robhogan in ebefed4 When will my fix make it into a release? | How to file a pick request? |
… async transforms for SH (#56254) Summary: Pull Request resolved: #56254 Disable `babel/plugin-transform-async-to-generator` and `babel/plugin-transform-async-generator-functions` when `customTransformOptions.unstable_preserveAsync` is truthy. This allows us to experiment with native async/await support in Static Hermes. Changelog: [Internal] Reviewed By: vzaidman Differential Revision: D93013928
ebefed4 to
41949b4
Compare
Collaborator
|
This pull request was successfully merged by @robhogan in 41949b4 When will my fix make it into a release? | How to file a pick request? |
Collaborator
|
This pull request was successfully merged by @robhogan in a92bea8 When will my fix make it into a release? | How to file a pick request? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary:
Disable
babel/plugin-transform-async-to-generatorandbabel/plugin-transform-async-generator-functionswhencustomTransformOptions.unstable_preserveAsyncis truthy. This allows us to experiment with native async/await support in Static Hermes.Changelog: [Internal]
Reviewed By: vzaidman
Differential Revision: D93013928