-
Notifications
You must be signed in to change notification settings - Fork 79
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
collapse top level index folder #151
Comments
From this:
to this:
? I mean, why not. But I think we must implement this under a config option / cli flag and not make it the default. |
How come? |
In a single entry point folder (like our |
I think Destiny should be able to run on any kind of js / js-like codebase without any issue and then be configurable to suit the user's preferences |
How does it break down for multiple entry points? |
Current output:
Your proposal output:
How can you find out which file is dependent on whom? |
What do you think of collapsing it only if the folders name is |
I'm not sure. Some apps name their entry point |
Or else, we can detect if there's one single file at top level. It seems pretty obvious but it didn't click until now...
Then why not. But with this, I think we should also give an option to the user so he can disable this feature if he wants to. But I'm not sure how we'll deal with shared deps. Shall we do this only if there's no |
that's a good point, I think merging is probably the right choice, but I'll think on this. |
its weird to have a folder called
index
so just bring up all the files in it one levelThe text was updated successfully, but these errors were encountered: