mirror of
https://github.com/status-im/metro.git
synced 2025-02-23 16:28:28 +00:00
Summary: Metro does not need to use babel to parse JSON files, it only needs to wrap the stringified JSON directly into the `define` function. This makes the transformation of JSON files much faster, plus prevent out of memory exceptions when having huge JSON files. This diff fixes https://github.com/facebook/metro/issues/146 Reviewed By: mjesun Differential Revision: D7227095 fbshipit-source-id: 5d1a9cb2d1c7162a403c00dc43e46f781fbd1514