Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add option to exclude directories from index.js #50

Merged
merged 5 commits into from
Jan 25, 2019
Merged

Add option to exclude directories from index.js #50

merged 5 commits into from
Jan 25, 2019

Conversation

cryptism
Copy link
Contributor

Newer versions of react-scripts no longer seem to play friendly with create-index, specifically because of the rules around whether directories get imported, I've added an option to blanket ignore including all directories to an index, which works a treat for my work apps. Let me know if it's something you'd like merged and I'll update the README.md as well.

src/bin/create-index.js Show resolved Hide resolved
src/utilities/index.js Show resolved Hide resolved
@gajus
Copy link
Owner

gajus commented Jan 24, 2019

Please update the README.md usage section.

Thank you for the PR.

@cryptism
Copy link
Contributor Author

cryptism commented Jan 25, 2019

Please update the README.md usage section.

Thank you for the PR.

You're welcome! Just finished updating the README, so feel free to merge if you're happy.

@gajus gajus merged commit 6aac149 into gajus:master Jan 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants