Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 0eebc46

Browse files
evilebottnawimichael-ciniawsky
authored andcommitted
perf(index): switch to md4 for content hashing (#103)
1 parent 8067aaa commit 0eebc46

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ class CompressionPlugin {
9898
'compression-webpack-plugin': pkg.version,
9999
'compression-webpack-plugin-options': this.options,
100100
path: compiler.outputPath ? `${compiler.outputPath}/${file}` : file,
101-
hash: crypto.createHash('md5').update(input).digest('hex'),
101+
hash: crypto.createHash('md4').update(input).digest('hex'),
102102
});
103103

104104
return cacache

0 commit comments

Comments
 (0)