Closed bebraw closed 10 years ago
Have you seen the recurse option? Check out the readme if you haven't!
On Tuesday, May 6, 2014, Juho Vepsäläinen notifications@github.com wrote:
I have a situation like this:
- /foo/index.js - require-dir is executed here
- /foo/bar/index.js
- /foo/baz/index.js
I would like to expose bar and baz through foo. Unfortunately require-dirtakes just files in count. Maybe this would be a good extra option? I know it's a special case.
— Reply to this email directly or view it on GitHubhttps://github.com/aseemk/requireDir/issues/2 .
Ok, good catch! Closing.
I have a situation like this:
require-dir
is executed hereI would like to expose
bar
andbaz
throughfoo
. Unfortunatelyrequire-dir
takes just files in count. Maybe this would be a good extra option? I know it's a special case.