Miguel Jimenez Esun
361f03badb
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: D5321193
fbshipit-source-id: fd4805b28c8a2b986842e23570a64003370d2067
2017-07-07 07:47:13 -07:00
..
2017-05-08 11:31:19 -07:00
2017-05-08 11:31:19 -07:00
2017-05-08 11:31:19 -07:00
2017-05-08 11:31:19 -07:00
2017-05-08 11:31:19 -07:00
2017-05-08 11:31:19 -07:00
2017-05-08 11:31:19 -07:00
2017-05-08 11:31:19 -07:00
2017-05-08 11:31:19 -07:00
2017-05-08 11:31:19 -07:00
2017-05-08 11:31:19 -07:00
2017-06-13 12:18:45 -07:00
2017-05-08 11:31:19 -07:00
2017-05-08 11:31:19 -07:00
2017-05-08 11:31:19 -07:00
2017-05-08 11:31:19 -07:00
2017-05-08 11:31:19 -07:00
2017-05-08 11:31:19 -07:00
2017-06-28 12:50:30 -07:00
2017-05-08 11:31:19 -07:00
2017-05-08 11:31:19 -07:00
2017-05-08 11:31:19 -07:00
2017-05-08 11:31:19 -07:00
2017-05-08 11:31:19 -07:00
2017-05-08 11:31:19 -07:00
2017-06-12 22:45:49 -07:00
2017-05-08 11:31:19 -07:00
2017-05-08 11:31:19 -07:00
2017-05-08 11:31:19 -07:00
2017-05-08 11:31:19 -07:00
2017-05-08 11:31:19 -07:00
2017-05-08 11:31:19 -07:00
2017-05-08 11:31:19 -07:00
2017-05-24 11:30:48 -07:00
2017-05-08 11:31:19 -07:00
2017-05-08 11:31:19 -07:00
2017-07-07 03:06:21 -07:00
2017-05-08 11:31:19 -07:00
2017-05-08 11:31:19 -07:00
2017-07-07 07:47:13 -07:00
2017-05-08 11:31:19 -07:00
2017-05-08 11:31:19 -07:00
2017-05-08 11:31:19 -07:00
2017-05-08 11:31:19 -07:00
2017-06-20 19:22:57 -07:00
2017-05-08 11:31:19 -07:00
2017-05-26 03:30:33 -07:00
2017-05-08 11:31:19 -07:00
2017-05-08 11:31:19 -07:00
2017-05-08 11:31:19 -07:00
2017-05-08 11:31:19 -07:00
2017-05-08 11:31:19 -07:00
2017-05-08 11:31:19 -07:00
2017-05-08 11:31:19 -07:00
2017-05-08 11:31:19 -07:00
2017-05-08 11:31:19 -07:00
2017-05-08 11:31:19 -07:00
2017-05-08 11:31:19 -07:00
2017-06-19 16:46:31 -07:00
2017-05-08 11:31:19 -07:00
2017-05-08 11:31:19 -07:00
2017-05-08 11:31:19 -07:00
2017-05-08 11:31:19 -07:00
2017-05-08 11:31:19 -07:00
2017-05-25 23:00:37 -07:00
2017-05-08 11:31:19 -07:00
2017-05-08 11:31:19 -07:00
2017-05-08 11:31:19 -07:00
2017-05-08 11:31:19 -07:00
2017-05-08 11:31:19 -07:00
2017-05-25 08:45:47 -07:00
2017-05-08 11:31:19 -07:00
2017-06-21 12:38:06 -07:00
2017-05-08 11:31:19 -07:00
2017-05-08 11:31:19 -07:00
2017-05-08 11:31:19 -07:00
2017-05-08 11:31:19 -07:00
2017-05-08 11:31:19 -07:00
2017-06-06 13:06:48 -07:00
2017-05-08 11:31:19 -07:00
2017-05-25 10:30:55 -07:00
2017-05-08 11:31:19 -07:00
2017-05-08 11:31:19 -07:00
2017-05-08 11:31:19 -07:00
2017-05-08 11:31:19 -07:00
2017-05-08 11:31:19 -07:00
2017-05-08 11:31:19 -07:00
2017-05-08 11:31:19 -07:00
2017-05-08 11:31:19 -07:00
2017-05-08 11:31:19 -07:00
2017-05-08 11:31:19 -07:00
2017-06-27 09:40:24 -07:00
2017-05-08 11:31:19 -07:00
2017-05-08 11:31:19 -07:00
2017-05-08 11:31:19 -07:00
2017-05-08 11:31:19 -07:00
2017-05-08 11:31:19 -07:00
2017-06-06 04:16:00 -07:00
2017-05-25 19:31:31 -07:00
2017-06-27 16:22:45 -07:00
2017-05-08 11:31:19 -07:00
2017-06-01 11:00:40 -07:00
2017-05-08 11:31:19 -07:00
2017-05-08 11:31:19 -07:00
2017-05-08 11:31:19 -07:00
2017-05-08 11:31:19 -07:00
2017-05-08 11:31:19 -07:00
2017-05-08 11:31:19 -07:00
2017-05-08 11:31:19 -07:00
2017-05-08 11:31:19 -07:00
2017-05-08 11:31:19 -07:00
2017-05-08 11:31:19 -07:00
2017-05-08 11:31:19 -07:00
2017-05-08 11:31:19 -07:00
2017-05-08 11:31:19 -07:00
2017-05-08 11:31:19 -07:00
2017-05-08 11:31:19 -07:00
2017-05-08 11:31:19 -07:00
2017-05-08 11:31:19 -07:00
2017-05-08 11:31:19 -07:00
2017-05-08 11:31:19 -07:00
2017-05-08 11:31:19 -07:00
2017-05-08 11:31:19 -07:00
2017-06-14 15:47:21 -07:00
2017-05-08 11:31:19 -07:00
2017-05-08 11:31:19 -07:00
2017-05-08 11:31:19 -07:00
2017-05-08 11:31:19 -07:00