Commit 24bfdda
Adds support for ES6 export syntax to the packager's DependencyResolver.
Summary: This PR includes:
- A regex that allows for the `export` syntax.
- Updated tests.
Closes facebook#3465
Reviewed By: svcscm
Differential Revision: D2550322
Pulled By: vjeux
fb-gh-sync-id: 7d35f436af13cf5b6b1287835a18a9693ec1be8a1 parent da25067 commit 24bfdda
File tree
4 files changed
+385
-2
lines changed- packager/react-packager/src/DependencyResolver
- __tests__
4 files changed
+385
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
159 | 159 | | |
160 | 160 | | |
161 | 161 | | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
162 | 166 | | |
163 | 167 | | |
164 | 168 | | |
165 | | - | |
| 169 | + | |
166 | 170 | | |
167 | 171 | | |
168 | 172 | | |
| |||
0 commit comments