File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,8 @@ const {
16
16
compareIds,
17
17
concatComparators,
18
18
compareSelect,
19
- compareModulesById
19
+ compareModulesById,
20
+ compareModulesByIdOrIdentifier
20
21
} = require ( "../util/comparators" ) ;
21
22
22
23
/** @typedef {import("webpack-sources").Source } Source */
@@ -805,6 +806,12 @@ const SORTERS = {
805
806
comparators . push (
806
807
compareSelect ( x => x . originModule , compareModulesById ( chunkGraph ) )
807
808
) ;
809
+ comparators . push (
810
+ compareSelect (
811
+ x => x . resolvedOriginModule ,
812
+ compareModulesByIdOrIdentifier ( chunkGraph )
813
+ )
814
+ ) ;
808
815
comparators . push (
809
816
compareSelect (
810
817
x => x . dependency ,
Original file line number Diff line number Diff line change @@ -1462,8 +1462,8 @@ Entrypoint main = main.js
1462
1462
[523] ./index.js + 2 modules 102 bytes { 404 } [built]
1463
1463
entry ./index main
1464
1464
[911] ./c.js 8 bytes { 404 } [built]
1465
- cjs require ./c [523] ./index.js + 2 modules ./b.js 1:0-14
1466
1465
cjs require ./c [523] ./index.js + 2 modules ./a.js 1:0-14
1466
+ cjs require ./c [523] ./index.js + 2 modules ./b.js 1:0-14
1467
1467
+ 2 hidden modules"
1468
1468
` ;
1469
1469
You can’t perform that action at this time.
0 commit comments