Files
react-native/Libraries
Miguel Jimenez Esun 3103258ca0 BREAKING: Add regenerator-runtime on demand, based on the files
Summary:
Adding a Babel plugin that will analyze the file looking for any potential candidate to use `regenerator-runtime`, and if so, will inject dynamically the module. The module is injected per file, so we avoid polluting the global environment. The plugin is also able to inject the `require` call beforehand, so that the inliner can pick them and inline them.

The Babel plugin is part of `react-native-babel-preset`, so as long as you are using this preset you are safe. If not, you should include the specific transformer into your list of plugins, as `react-native-babel-preset/transforms/transform-regenerator-runtime-insertion.js`.

Reviewed By: davidaurelio

Differential Revision: D5388655

fbshipit-source-id: dc403f3d5e2d807529eb8569a85c45fec36a6a3e
2017-07-19 11:04:33 -07:00
..
2017-04-28 06:34:21 -07:00
2017-07-12 07:54:09 -07:00
2017-07-06 14:52:28 -07:00
2017-06-14 12:48:22 -07:00
2016-11-02 12:29:15 -07:00
2017-07-18 17:46:33 -07:00
2017-07-12 14:09:54 -07:00
2017-06-05 23:30:34 -07:00
2017-01-31 11:13:50 -08:00
2017-04-26 11:31:56 -07:00
2017-02-21 15:18:40 -08:00
2017-06-16 18:15:17 -07:00