File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -623,14 +623,14 @@ function createRealIds(depTree, options) {
623623 }
624624 var diff = b . usages - a . usages ;
625625 if ( diff !== 0 ) return diff ;
626- if ( typeof a . filename === "string" || typeof b . filename === "string" ) {
627- if ( typeof a . filename !== "string" )
626+ if ( typeof a . request === "string" || typeof b . request === "string" ) {
627+ if ( typeof a . request !== "string" )
628628 return - 1 ;
629- if ( typeof b . filename !== "string" )
629+ if ( typeof b . request !== "string" )
630630 return 1 ;
631- if ( a . filename === b . filename )
631+ if ( a . request === b . request )
632632 return 0 ;
633- return ( a . filename < b . filename ) ? - 1 : 1 ;
633+ return ( a . request < b . request ) ? - 1 : 1 ;
634634 }
635635 if ( a . dirname === b . dirname )
636636 return 0 ;
You can’t perform that action at this time.
0 commit comments