How to parse all files match a pattern in subdirectories and access export values in Node

后端 未结 0 786
小蘑菇
小蘑菇 2021-02-12 02:24

I have a React application with around 100 *.stories.tsx files.
Each of them has something like:

export default {
  title: "Portal-App/Shared/         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题