find all require/import calls by walking the AST
plugins
in parser options has become an array, and we have to put jsx
in the default value to support JSX syntax parsing. I did not add typescript
because the fixture contains no typescript code, and typescript
cannot co-exist with flow
, not sure if we need to add it.