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

Support of default export? #101

Open
IRT-fbachmann opened this issue Aug 21, 2017 · 2 comments
Open

Support of default export? #101

IRT-fbachmann opened this issue Aug 21, 2017 · 2 comments

Comments

@IRT-fbachmann
Copy link
Contributor

Could you add support of default exports in the structureLoader? Sth. like this:

if (required.default) {
    required = required.default;
}
@adrai
Copy link
Contributor

adrai commented Aug 22, 2017

Feel free to submit a PR ;-)
PS. but there is no official support in node right now, right?

@IRT-fbachmann
Copy link
Contributor Author

No, there is no official node support. However, in my structure I liked to have some supporting information associated to the commands/events. I'd like to have that in the same file, which is easier using default export plus extra exports...
PR's coming :)

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

No branches or pull requests

2 participants