gajus / create-index

Creates ES6 ./index.js file in target directories that imports and exports all sibling files and directories.
Other
278 stars 87 forks source link

Update findIndexFiles.js #66

Closed FDiskas closed 1 year ago

FDiskas commented 1 year ago

I believe this will fix the issue when working on the typescript project and the folder is not exported if it contains index.ts file only and not index.js