1 parent c9331d9 commit 6b011bcCopy full SHA for 6b011bc
1 file changed
lib/Stats.js
@@ -139,6 +139,8 @@ Stats.prototype.toJson = function toJson(options, forToString) {
139
if(dep.loc) obj.loc = dep.loc.start.line + ":" + dep.loc.start.column + "-" +
140
(dep.loc.start.line != dep.loc.end.line ? dep.loc.end.line + ":" : "") + dep.loc.end.column
141
return obj;
142
+ }).sort(function(a, b) {
143
+ return a.moduleId - b.moduleId;
144
});
145
}
146
if(showSource && module._source) {
0 commit comments