Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
metro-config: Revert setting
hermesParser: true
in default Metro co…
…nfig (#47670) Summary: Now that we have `babel-plugin-syntax-hermes-parser` in `react-native/babel-preset` (since D63535216), it's no longer necessary to use `hermes-parser` directly in Metro in order to use newer Flow syntax. Babel with `babel-plugin-syntax-hermes-parser` is generally preferable, because it intelligently falls back to parsing with Babel for any non-`flow` files. See facebook/hermes#1549 for context. Changelog: [General][Fixed] metro-config: Don't use `hermes-parser` by default, prefer `babel-plugin-syntax-hermes-parser`, which supports other syntax plugins. Differential Revision: D66002056
- Loading branch information