mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
69126069fc
Summary: This diff updates the errors thrown by Metro for invalid requires, and fixed a bug in Fast Refresh that was failing to handle errors returned by metro. The net result is that invalid requires are displayed as syntax errors with code frames. Changelog: [Internal] Reviewed By: cpojer Differential Revision: D20107057 fbshipit-source-id: 59f77aa1da620d2c619a7cc45d90f40ef8b54448