mirror of
https://github.com/status-im/metro.git
synced 2025-02-13 03:27:32 +00:00
Summary: I figured out that the uncaught rejection that happens on transform error originated from a "fork" along the chain, where we both "then" on a promise, and return that promise. In that case Node.js, legitimately I think, identifies this as an uncaught rejection case. One solution, in this changeset, is to do the side-effects as part of the promise chain instead of "forking". Another option would be to add an explicit error handler to the additional "then", but it seems we don't have to handle that case here. Reviewed By: davidaurelio Differential Revision: D4515592 fbshipit-source-id: 17d813cfdbc76685b6273b8d94e97d948fd68674
metro-bundler
![npm version](https://badge.fury.io/js/metro-bundler.svg)
The JavaScript bundler for React Native
Description
Languages
JavaScript
100%