react-native/local-cli/server
David Aurelio 6b74535e97 Clean up Bundler
Summary:
The bundler class had duplicated code and parts that were hard to follow, because functions accepted heterogenous arguments, leading to a lot of conditionals.

This commit tries to remove duplication between build steps of different type of bundles, and by accepting less different types of arguments. These differences are now handled further up the call stack.

public

Reviewed By: sebmarkbage

Differential Revision: D2905807

fb-gh-sync-id: ef85ea0d461a9a06a4a64480e014a5324c4ef532
2016-02-08 11:19:31 -08:00
..
middleware Disable Flow on Packager 2016-01-27 15:33:31 -08:00
util Clean up Bundler 2016-02-08 11:19:31 -08:00
checkNodeVersion.js Quit early if node < 4 2016-02-04 15:23:57 -08:00
formatBanner.js Move `private-cli` commands to `local-cli` 2015-10-26 15:36:04 -07:00
runServer.js Support non-image assets in packager 2016-02-03 17:30:39 -08:00
server.js add host argument for packager. 2016-01-19 16:47:33 -08:00