-
Notifications
You must be signed in to change notification settings - Fork 58
Closed
Description
currently I have the following situation:
/foo/bar.js
/foo/baz/index.js
/foo/baz/bar.js
what I'm expecting when I do
requireDir('./foo');is
{
bar: '...',
baz: '...'
}like it follows the semantics of require with respect to subfolders, but what I get is
{
bar: '...'
}while the recurse options is not what I want because that would give me:
{
bar: '...',
baz: {
index: '...',
bar: '...'
}
}voanhcuoc
Metadata
Metadata
Assignees
Labels
No labels