mirror of
https://github.com/facebook/react-native.git
synced 2026-11-18 20:19:07 +00:00
a9af05f8acb0918ca3bd6427efaf6f801c2a6156
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
Languages
C++
35%
Kotlin
22.3%
JavaScript
19.9%
Objective-C++
9.9%
Objective-C
4.6%
Other
8.3%