SIGN IN SIGN UP
facebook / react-native UNCLAIMED

A framework for building native applications using React

chore(react-native-codegen): Remove fixtures and outdated transforms from build output (#49916)

Summary:
- Update ignore micromatch pattern to filter out `__test_fixtures__` from build output
- Remove `babel/plugin-transform-object-rest-spread`
- Remove `babel/plugin-transform-async-to-generator`
- Remove `babel/plugin-transform-destructuring`

The `package.json:engines:node` field is already set to `>=18` which makes the three Babel transforms that were removed redundant.

## Changelog:

[INTERNAL] [CHANGED] - Remove fixtures files and outdated Babel transforms from `react-native/codegen` build output

Pull Request resolved: https://github.com/facebook/react-native/pull/49916

Test Plan: - Ran against Node 18

Reviewed By: robhogan

Differential Revision: D70885090

Pulled By: cortinico

fbshipit-source-id: 328b75a6031a7ca6a9b3ed170061ffb0a47d6d93
P
Phil Pluckthun committed
b52f0d8391448c0fb97ccdd72f1444133236de82
Parent: 41181bb
Committed by Facebook GitHub Bot <[email protected]> on 3/10/2025, 12:44:32 PM