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

Fixes #17924
lolsob-rspec
Claire 2022-04-01 23:55:32 +02:00 committed by GitHub
parent 042fbadf92
commit b1e4e460db
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,
}, },