react-native/local-cli/bundle
Tadeu Zagallo 0b46a0c13b Add a naive WPO implementation
Summary: public

RFC: The minifier haven't been stripping dead-code, and it also can't kill unused
modules, so as a temporary solution this inlines `__DEV__`, kill dead branches
and kill dead modules. For now I'm just white-listing the dev variable, but we
could definitely do better than that, but as a temporary fix this should be
helpful.

I also intend to kill some dead variables, so we can kill unused requires,
although inline-requires can also fix it.

Reviewed By: vjeux

Differential Revision: D2605454

fb-gh-sync-id: 50acb9dcbded07a43080b93ac826a5ceda695936
2015-11-17 03:39:28 -08:00
..
__mocks__ Move `private-cli` commands to `local-cli` 2015-10-26 15:36:04 -07:00
__tests__ Fix breakages when upgrading to babel 6 2015-11-10 10:56:48 -08:00
buildBundle.js Add a naive WPO implementation 2015-11-17 03:39:28 -08:00
bundle.js Move files from `packager/` to `local-cli` 2015-10-26 15:38:14 -07:00
bundleCommandLineArgs.js Add option to indicate bundle encoding 2015-10-28 13:20:28 -07:00
getAssetDestPathAndroid.js Move `private-cli` commands to `local-cli` 2015-10-26 15:36:04 -07:00
getAssetDestPathIOS.js Move `private-cli` commands to `local-cli` 2015-10-26 15:36:04 -07:00
processBundle.js Add a naive WPO implementation 2015-11-17 03:39:28 -08:00
saveBundleAndMap.js Add option to indicate bundle encoding 2015-10-28 13:20:28 -07:00
sign.js Move `private-cli` commands to `local-cli` 2015-10-26 15:36:04 -07:00
signedsource.js Move `private-cli` commands to `local-cli` 2015-10-26 15:36:04 -07:00