Fix assets failing to build with OpenSSL 3 because of deprecated hash algorithm (#17930)

Fixes #17924
This commit is contained in:
Claire 2022-04-01 23:55:32 +02:00 committed by GitHub
parent 24d446adf2
commit 44b7be45f1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -37,6 +37,7 @@ module.exports = {
filename: 'js/[name]-[chunkhash].js',
chunkFilename: 'js/[name]-[chunkhash].chunk.js',
hotUpdateChunkFilename: 'js/[id]-[hash].hot-update.js',
hashFunction: 'sha256',
path: output.path,
publicPath: output.publicPath,
},