chennlang / js-analyzer

🧬 A visual and interactive front-end project dependency analysis tool~ 一个可视化、交互式的前端项目依赖分析工具
https://chennlang.github.io/js-analyzer/
MIT License
79 stars 10 forks source link

jsx 的引用无法被识别到 #5

Closed hyj111 closed 6 months ago

hyj111 commented 7 months ago
image

image

hyj111 commented 7 months ago

https://github.com/hyj111/js-analyze-test 复现的例子

hyj111 commented 7 months ago

还有使用相对路径分析时候,关系图列表名称啥的会错乱

image
chennlang commented 7 months ago

你好,原因是 README 给出的配置信息有错, 是 .jsx ,之前写成了 jsx, 已更新文档 image

chennlang commented 6 months ago

还有使用相对路径分析时候,关系图列表名称啥的会错乱 image

这里建议用全路径,或者这么写 path.resolve(__dirname, "./")