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

Fixes #17924
shrike
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', filename: 'js/[name]-[chunkhash].js',
chunkFilename: 'js/[name]-[chunkhash].chunk.js', chunkFilename: 'js/[name]-[chunkhash].chunk.js',
hotUpdateChunkFilename: 'js/[id]-[hash].hot-update.js', hotUpdateChunkFilename: 'js/[id]-[hash].hot-update.js',
hashFunction: 'sha256',
path: output.path, path: output.path,
publicPath: output.publicPath, publicPath: output.publicPath,
}, },