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

Sorting of requires in lexicographical order #4

Open
jakub-g opened this issue Mar 5, 2015 · 0 comments
Open

Sorting of requires in lexicographical order #4

jakub-g opened this issue Mar 5, 2015 · 0 comments

Comments

@jakub-g
Copy link
Collaborator

jakub-g commented Mar 5, 2015

It would be interesting to sort the requires in the output file by their path, to have e.g.

var Aria = require("ariatemplates/Aria");
var ariaUtilsJson = require("ariatemplates/utils/Json");
var modulesSthSth = require("modules/sth/Sth");

instead of

var Aria = require("ariatemplates/Aria");
var modulesSthSth = require("modules/sth/Sth");
var ariaUtilsJson = require("ariatemplates/utils/Json");

(right now we iterate $dependencies and output requires just in the same order)

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

1 participant