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

Project support #20

Closed
Berkmann18 opened this issue Dec 20, 2017 · 4 comments
Closed

Project support #20

Berkmann18 opened this issue Dec 20, 2017 · 4 comments

Comments

@Berkmann18
Copy link
Contributor

I've seen that the multi-file support was on the TODO list but as that could mean supporting * ops (e.g: *.js) as well as projects, I was wondering which one it was and if it was the latter, then my question would be:
Will it know about the data-structures that a module (e.g: main.js) uses from another one (regardless of whether it's NodeJS/ES6 modules?
Example in NodeJS (the same could be said for ES6 modules):
main.js

let aModule = require('./aModule');

// some code here
aModule.doSomething();

I'm aware that the latter would possibly require a filter to prevent this generator to go deep in the (yarn|node)_modules or any library files that aren't really part of the project so I'm willing to help (if there's need).

@Bogdan-Lyashenko
Copy link
Owner

Hey, thanks for the interest.) well, original idea was to use webpack dependencies tree builder for that, I just can’t imagine another better way of handling modules dependencies, so, the short answer is - webpack will manage that. Nice to hear you would like to contribute, it would be really great, thanks. Let me know if you need some guidance where to start.

@Berkmann18
Copy link
Contributor Author

So would that be basically using webpack without requiring the targeted projects to use webpack?
Sure, will do if I need :).

@Bogdan-Lyashenko
Copy link
Owner

Yes, exactly.)

@Berkmann18
Copy link
Contributor Author

Cool :).

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