Open hydrosquall opened 5 years ago
Update: I've found that jsx
files work sometimes, but not always. TSX files are not working at all. I see that the underlying esprima
parser already has the jsx
flag set to true, further testing with react projects is needed to see why it's only working some of the time.
An alternate approach might be to investigating how to generate callgraphs using some of the non-esprima JS parsers (see the JS listings under AST Explorer), but that would probably be considerably more involved work.
Hi,
Thanks for the great work on this library! I was hoping to use this tool to analyze a react/typescript based project, but ran into some errors relating to babel being unable to find a class name transformation plugin.
I saw that
vue
files are supported, and was hoping to extend that to thereact
ecosystem as well. Thanks for the consideration!