currently I have the following situation:
/foo/bar.js
/foo/baz/index.js
/foo/baz/bar.js
what I'm expecting when I do
is
{
bar: '...',
baz: '...'
}
like it follows the semantics of require with respect to subfolders, but what I get is
while the recurse options is not what I want because that would give me:
{
bar: '...',
baz: {
index: '...',
bar: '...'
}
}
currently I have the following situation:
what I'm expecting when I do
is
like it follows the semantics of
requirewith respect to subfolders, but what I get iswhile the
recurseoptions is not what I want because that would give me: