Upgrade flow to 0.64 (#3899)

* Upgrade flow to 0.64

This also enables spread operator on jsx on the flow parser:

```js
<div>{...list}</div>
```

I had no idea it was even a thing.

I had to comment out a flow test that no longer parses, but it's no longer in the flow repo and the comment said that it shouldn't be working anyway so I don't think it's going to be a problem.

* Fix build script
This commit is contained in:
Christopher Chedeau authored and GitHub committed 2018-02-06 09:01:58 -08:00
1 parent 4f2b3eb98b
commit 9ba0d69cb9
6 files changed
+7 -10

No files matched your search

+1 -1
View File
@@ -24,7 +24,7 @@ export default Object.assign(baseConfig, {
// by its value before bundling.
parser.endsWith("flow")
? replace({
"require(s8)": 'require("fs")',
"require(tf)": 'require("fs")',
include: "node_modules/flow-parser/flow_parser.js"
})
: {},