react-native/local-cli/bundle/output
Jean Lauliac 4203c9c837 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:04:51 -07:00
..
unbundle packager: fix buildBundle() options 2017-03-14 11:04:51 -07:00
bundle.js packager: fix buildBundle() options 2017-03-14 11:04:51 -07:00
meta.js Update meta.js (new Buffer when init) 2016-11-27 02:58:29 -08:00
writeFile.js Add flow types for output modules 2016-11-21 13:28:30 -08:00