gajus / gajus/create-index

Importing created subdirectory index files

Open
#44 5 comments 8 reactions 0 assignees View on GitHub
enhancement
Dominant language
JavaScript
Stars
277
Forks
86
PR merge metrics
No merged PRs in 30d

Description

Hello! Thanks so much for the great work on **create-index**! I apologize if this has been brought up before, after some time of searching the issues and pull requests I could not find mention of it.

I have a library project with some deeper source folders and much to my delight **create-index** does indeed create `index.js` files exactly how I was looking for, short of one thing. When creating a parent folder's `index.js` and using the recurse into subfolders option the parent folder's `index.js` will not import the child folder's. To further call the inconsistency out, subsequent runs of **create-index** will properly import the child folder's now created `index.js`.

I'd be happy to submit a PR if this seems like a feature that should be included, especially if it's something someone unfamiliar with the source can easily jump in and do, say if it's a matter of swapping the order of generation.

Thank you for your time!

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.