1 parent 801138a commit bbb66fcCopy full SHA for bbb66fc
2 files changed
lib/Chunk.js
@@ -21,7 +21,7 @@ const sortByIdentifier = (a, b) => {
21
return 0;
22
};
23
24
-const getFrozenArray = set => Object.freeze(Array.from(this));
+const getFrozenArray = set => Object.freeze(Array.from(set));
25
26
const getModulesIdent = set => {
27
set.sort();
lib/Module.js
@@ -21,7 +21,7 @@ const sortByDebugId = (a, b) => {
return a.debugId - b.debugId;
const getDebugIdent = set => {
set.sortWith(sortByDebugId);
0 commit comments