-
Notifications
You must be signed in to change notification settings - Fork 7
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
Ordering files "by glob" #3
Comments
This is definitely possible. I'm working on getting some tests up, and I would want to finish that before I add this feature. |
+1 to this. Because the |
Hey, I made a quick PR for this fix, it still keeps files sorted by their file type, but makes sure before entering that function they are already sorted by alpha. |
Fixed in v0.3.0 |
Sorry for going silent on this one. That is great news. I'll check it out! |
I'm using version 4.1.0 and having some issues concerning the order - especially as this behaves differently to the way the atom-typescript plugin does the rewriting.
Results in:
If I correctly understand this issue, this should have been fixed to behave deterministicly, right? |
@ajaegle The sort order priority is something like this:
The order you gave does seem consistent with this; do you need a different order? |
I'm not sure about the behavior of atom-typescript. The initial thought with sorting the Another benefit of sorting was to prevent the It does appear as though it is possible to stop sorting |
+1 to use same sorting that atom-typescript. |
I wonder if it is possible to populate the files-array , so the files is in the same order as the glob-matches, like if I do:
it would result in:
files: [ "/a/1.ts", "/a/2.ts", "/b/1.ts" ]
and so on.
That would be very useful for making sure dependencies got emitted in the right order when using
--out
.The text was updated successfully, but these errors were encountered: