Skip to content

Commit

Permalink
Update packages/dependency-extraction-webpack-plugin/lib/index.js
Browse files Browse the repository at this point in the history
  • Loading branch information
gziolo authored Jun 14, 2022
1 parent 316b936 commit fa78e1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/dependency-extraction-webpack-plugin/lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ class DependencyExtractionWebpackPlugin {
hashDigestLength,
} = compilation.outputOptions;

const contentHash = chunkFiles
const contentHash = chunkFiles.sort()
.reduce( ( hash, filename ) => {
const asset = compilation.getAsset( filename );
return hash.update( asset.source.buffer() );
Expand Down

0 comments on commit fa78e1c

Please sign in to comment.