Skip to content

Commit b5caccf

Browse files
Morten N.O. Nørgaard HenriksenMorten N.O. Nørgaard Henriksen
authored andcommitted
Use md5 for the environment config webpack 5 cache invalidation hash
1 parent b213cf3 commit b5caccf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/react-scripts/config/webpack/persistentCache/createEnvironmentHash.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
const { createHash } = require('crypto');
33

44
module.exports = env => {
5-
const hash = createHash('md4');
5+
const hash = createHash('md5');
66
hash.update(JSON.stringify(env));
77

88
return hash.digest('hex');

0 commit comments

Comments
 (0)