We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 79a1def commit ba2f247Copy full SHA for ba2f247
lib/CaseSensitiveModulesWarning.js
@@ -14,12 +14,12 @@ const WebpackError = require("./WebpackError");
14
*/
15
const sortModules = modules => {
16
return modules.slice().sort((a, b) => {
17
- a = a.identifier();
18
- b = b.identifier();
+ const aIdent = a.identifier();
+ const bIdent = b.identifier();
19
/* istanbul ignore next */
20
- if (a < b) return -1;
+ if (aIdent < bIdent) return -1;
21
22
- if (a > b) return 1;
+ if (aIdent > bIdent) return 1;
23
24
return 0;
25
});
0 commit comments