Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
fix(sorting): revert change to restore original behavior
This fixes the testcase
  • Loading branch information
sokra committed Aug 13, 2018
commit a16d24087543923a6aa9e4bdddd9e32a0785e363
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,7 @@ class MiniCssExtractPlugin {
// (to avoid a breaking change)
// TODO remove this in next mayor version
// and increase minimum webpack version to 4.12.0
modules.sort((a, b) => b.index2 - a.index2);
modules.sort((a, b) => a.index2 - b.index2);
}
const source = new ConcatSource();
const externalsSource = new ConcatSource();
Expand Down