mirror of
https://github.com/hanzoai/react.git
synced 2026-09-24 17:02:27 +00:00
Extracting portions of #32416 for easier review. Fixes a small issue where `codeFrame` is not a function when a rollup error was encountered. Co-authored-by: michael faith <[email protected]> --- [//]: # (BEGIN SAPLING FOOTER) Stack created with [Sapling](https://sapling-scm.com). Best reviewed with [ReviewStack](https://reviewstack.dev/facebook/react/pull/32591). * #32592 * __->__ #32591 * #32590 * #32589 * #32588 --------- Co-authored-by: michael faith <[email protected]>