Jean Lauliac 79c488b9f7 packager: fix buildBundle() options
Summary: The problem with `bundleOpts` is that it discards Flow typing, so it prevents reinforcing the integration of `Bundler` into `Server`. This changeset removes the `bundleOpts` to solve that issues. Instead, it makes the options explicit so that there is less uncertaintly. I love making options explicit, because they force callsites to take a consicious decision about what is really needed, making them more robust. They also expose oddities that probably needs refatoring, for example having a `resolutionRequest` in the bundle options does not seem correct, it should be an implementation details. Likewise, `onProgress` should probably be exposed differently, as it does not affect the content of the bundle itself.

Reviewed By: davidaurelio

Differential Revision: D4697729

fbshipit-source-id: d543870ba024e7588c10b101fa51429c77cc5ddc
2017-03-14 11:07:35 -07:00
2017-01-26 12:56:40 +00:00
2017-01-26 12:56:40 +00:00
2017-01-26 12:56:40 +00:00
2017-02-23 16:16:00 +00:00
2017-01-26 12:56:40 +00:00
2017-02-28 11:45:45 +00:00
2017-02-27 10:41:38 +00:00
2017-03-01 11:01:35 +00:00
2017-01-26 12:56:40 +00:00
2017-01-26 12:56:40 +00:00
2017-01-26 12:56:40 +00:00
2017-01-26 12:56:40 +00:00
2017-01-26 12:56:40 +00:00
2017-03-01 11:01:35 +00:00
2017-01-26 12:56:40 +00:00
2017-03-01 11:01:35 +00:00
2017-01-26 12:56:40 +00:00
2017-01-26 12:56:40 +00:00
2017-03-01 11:01:35 +00:00

metro-bundler Build Status Windows Build Status npm version

The JavaScript bundler for React Native

Description
🚇 The JavaScript bundler for React Native.
https://facebook.github.io/metro
Readme MIT
Languages
JavaScript 100%