metro/react-packager
Pilwon Huh d476461120 react-packager: Add ES6 import statement support to DependencyGraph.
Summary:
This PR teaches packager's `DependencyGraph` how to extract dependencies written with ES6 `import` statements.

It fixes the issue where you are not able to write your app with ES6 `import` statements when your custom transformer (replacing the default [JSTransform](https://github.com/facebook/jstransform), for example, [babel](http://babeljs.io/)) already supports the ES6 `import` syntax.

It will also be useful for [JSTransform](https://github.com/facebook/jstransform) later on once it implements `import` feature too.
Closes https://github.com/facebook/react-native/pull/386
Github Author: Pilwon Huh <pilwon@gmail.com>

Test Plan: runJestTests.sh
2015-04-03 11:40:54 -08:00
..
__mocks__ [react-packager] Switch from Q to Bluebird as promises library 2015-03-31 21:24:13 -08:00
example_project [ReactNative] Expanded license on js packager files 2015-03-23 11:28:51 -08:00
src react-packager: Add ES6 import statement support to DependencyGraph. 2015-04-03 11:40:54 -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 [ReactNative] Expanded license on js packager files 2015-03-23 11:28:51 -08:00