mirror of
https://github.com/status-im/react-native.git
synced 2025-01-14 19:44:13 +00:00
ec82ffa52b
Summary: There's been a case where Babel can hang indefinitely on a file parse/transform. Possibly related to https://github.com/babel/babel/issues/2211 This adds a timeout to transform jobs and throws an error informing the user of the offending file. The timeout interval defaults to 10 seconds, but can be changed via an option.