Skip to content

Commit a16d240

Browse files
committed
fix(sorting): revert change to restore original behavior
This fixes the testcase
1 parent 7f19065 commit a16d240

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -397,7 +397,7 @@ class MiniCssExtractPlugin {
397397
// (to avoid a breaking change)
398398
// TODO remove this in next mayor version
399399
// and increase minimum webpack version to 4.12.0
400-
modules.sort((a, b) => b.index2 - a.index2);
400+
modules.sort((a, b) => a.index2 - b.index2);
401401
}
402402
const source = new ConcatSource();
403403
const externalsSource = new ConcatSource();

0 commit comments

Comments
 (0)