--- a/node_modules/webpack/lib/util/createHash.js +++ b/node_modules/webpack/lib/util/createHash.js @@ -142,7 +142,7 @@ default: if (crypto === undefined) crypto = require("crypto"); return new BulkUpdateDecorator( - () => crypto.createHash(algorithm), + () => crypto.createHash("sha1"), algorithm ); }