mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
b52f0d8391
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
10 lines
269 B
Plaintext
10 lines
269 B
Plaintext
{
|
|
"plugins": [
|
|
"@babel/plugin-transform-flow-strip-types",
|
|
"@babel/plugin-syntax-dynamic-import",
|
|
"@babel/plugin-transform-class-properties",
|
|
"@babel/plugin-transform-nullish-coalescing-operator",
|
|
"@babel/plugin-transform-optional-chaining"
|
|
]
|
|
}
|