metro/packages
Rafael Oleza bfecccd180 Avoid parsing JSON files with babel
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
2018-03-16 01:44:09 -07:00
..
2018-03-16 01:44:09 -07:00
2018-03-15 18:41:36 -07:00
2018-03-15 18:41:36 -07:00
2018-03-15 18:41:36 -07:00
2018-03-15 18:41:36 -07:00
2018-03-15 18:41:36 -07:00
2018-03-15 18:41:36 -07:00
2018-03-15 18:41:36 -07:00