We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
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
require
{ bar: '...' }
while the recurse options is not what I want because that would give me:
recurse
{ bar: '...', baz: { index: '...', bar: '...' } }
The text was updated successfully, but these errors were encountered:
closing, duplicate of #23
Sorry, something went wrong.
No branches or pull requests
currently I have the following situation:
what I'm expecting when I do
is
like it follows the semantics of
require
with respect to subfolders, but what I get iswhile the
recurse
options is not what I want because that would give me:The text was updated successfully, but these errors were encountered: