Skip to content

Babel preset: Add unstable_preserveDestructuring to experiment with disabling destructuring transform for SH#56829

Open
robhogan wants to merge 1 commit into
mainfrom
export-D93013925
Open

Babel preset: Add unstable_preserveDestructuring to experiment with disabling destructuring transform for SH#56829
robhogan wants to merge 1 commit into
mainfrom
export-D93013925

Conversation

@robhogan
Copy link
Copy Markdown
Contributor

Summary:
Disable babel/plugin-transform-destructuring when customTransformOptions.unstable_preserveDestructuring is truthy. This allows us to experiment with native destructuring support in Static Hermes.

Changelog: [Internal]

Reviewed By: vzaidman

Differential Revision: D93013925

…isabling destructuring transform for SH

Summary:
Disable `babel/plugin-transform-destructuring` when `customTransformOptions.unstable_preserveDestructuring` is truthy. This allows us to experiment with native destructuring support in Static Hermes.

Changelog: [Internal]

Reviewed By: vzaidman

Differential Revision: D93013925
@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 May 14, 2026
@meta-codesync
Copy link
Copy Markdown

meta-codesync Bot commented May 14, 2026

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

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.

1 participant