Skip to content

Commit

Permalink
Merge pull request #431 from dmnsgn/dmnsgn-patch-1
Browse files Browse the repository at this point in the history
Fix DEP_WEBPACK_DEPRECATION_ARRAY_TO_SET
  • Loading branch information
Stanislav Germanovskii authored Mar 6, 2021
2 parents d216557 + ea439a2 commit 4a441cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/utils/get-all-modules.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ try {
* @return {NormalModule[]}
*/
function getAllModules(compilation) {
let modules = compilation.modules;
let modules = Array.from(compilation.modules);

// Look up in child compilations
if (compilation.children.length > 0) {
Expand Down

0 comments on commit 4a441cf

Please sign in to comment.