react-native/packager/react-packager
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__ Inline cache mock for DependencyGraph-test 2015-11-09 13:34:55 -08:00
src Add a naive WPO implementation 2015-11-17 03:39:28 -08:00
.babelrc Unbreak jest tests (and travis e2e tests) 2015-11-14 03:26:24 -08:00
.npmignore [react-packager][streamline oss] Move open sourced JS source to react-native-github 2015-02-19 21:25:11 -08:00
index.js Add `--verbose` flag to react native packager cli 2015-10-20 11:52:25 -07:00