mirror of
https://github.com/status-im/metro.git
synced 2025-02-10 10:07:12 +00:00
use babylon 7 to allow React fragments to parse
Summary: For React's new fragment syntax (`<>Foo</>`) to work, we need to upgrade from Babylon 6. Reviewed By: dwwoelfel Differential Revision: D6888282 fbshipit-source-id: 5212cc9439a2f79febc72e0f9eef1a7f6b700266
This commit is contained in:
parent
1f14cf1a0f
commit
2596f0f362
@ -102,7 +102,7 @@ type _TransformOptions = __TransformOptions & {
|
|||||||
env?: {[key: string]: __TransformOptions},
|
env?: {[key: string]: __TransformOptions},
|
||||||
};
|
};
|
||||||
|
|
||||||
type BabelNode = {};
|
type BabelNode = $FlowFixMe;
|
||||||
|
|
||||||
type TransformResult = {
|
type TransformResult = {
|
||||||
ast: BabelNode,
|
ast: BabelNode,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user