Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Skip hermes-parser under Babel for non-Flow JS code (#47568)
Summary: Pull Request resolved: #47568 Resolves facebook/hermes#1549. Changelog: [General][Fixed] - When using Babel with plain JavaScript files, support for additional user syntax plugins should be fixed (now uses Babel's parser instead of hermes-parser). There is no change for JS files annotated with `flow`, where extended JS syntax remains unsupported. Reviewed By: blakef Differential Revision: D65816797 fbshipit-source-id: 9f05e86019548ac8727ee65c2e2c417d78a406d8
- Loading branch information