-
-
Notifications
You must be signed in to change notification settings - Fork 488
Closed
Description
I have some problems to sort the files. Glob.sync order the files alphabetically. Is there any solution to order my way?
/app
|__ app.js
|__ main.js
I have:
glob.sync("./app/*(main|app).js")
I want to include 'main.js' first and later 'app.js', but actually, sync does the opposite. The first file that "match" is app.js due to the alphabetical order.
Any Solution?
Thanks in advance.
tarwich, markcellus, tientq64, pamelalozano16 and timlg07
Metadata
Metadata
Assignees
Labels
No labels