mirror of https://github.com/status-im/metro.git
d476461120
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 |
||
---|---|---|
.. | ||
__mocks__ | ||
example_project | ||
src | ||
.npmignore | ||
index.js |