react-native/packager/react-packager
Sebastian Markbage 0e11379dbb Extract the Require polyfill from the default list of polyfills
Summary: Extracts the module system from the list of dependencies and adds it back to the bundling process.

Unbundling and Prepack has their own module systems. jest does as well. This is not normally part of the resolver, nor polyfills.

In fact, I think we'll eventually start treating polyfills as normal modules just like core-js.

The prelude is the weird part right now but I think that we'll eventually move the DEV flag to be module level instead of global and we can just get rid of this prelude.

public

Reviewed By: davidaurelio

Differential Revision: D2693701

fb-gh-sync-id: a59ccda0fa15fcfcda52897e8290805eed1b92b3
2015-11-25 18:46:28 -08:00
..
__mocks__ Inline cache mock for DependencyGraph-test 2015-11-09 13:34:55 -08:00
src Extract the Require polyfill from the default list of polyfills 2015-11-25 18:46: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 infra for Prepack build option 2015-11-20 20:19:25 -08:00