I have a lot of folders with an index.js file that consist of many lines of:
export * from './filename'
And because I want to do this for every single file in the folder I was wondering if there is a way to just have one line that just exports everything in the whole folder instead of having to do one line for each file.
Some people think the question has been answered elsewhere, but no the answer given elsewhere is to do what I am doing which is to name every file in the index. What I want is a way to say 'my index exports * from every .js file in this folder'