about summary refs log tree commit diff
path: root/config/webpack
diff options
context:
space:
mode:
authorClaire <claire.github-309c@sitedethib.com>2022-04-01 23:55:32 +0200
committerGitHub <noreply@github.com>2022-04-01 23:55:32 +0200
commit44b7be45f1161d6378dba13e083b3c05d90cf0fa (patch)
treeba7ecbeb20a2a954ba44b513d4fed4c8e782216a /config/webpack
parent24d446adf22644c61e4d61ef612458cf087326dd (diff)
Fix assets failing to build with OpenSSL 3 because of deprecated hash algorithm (#17930)
Fixes #17924
Diffstat (limited to 'config/webpack')
-rw-r--r--config/webpack/shared.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/config/webpack/shared.js b/config/webpack/shared.js
index 05828aebe..3447e711c 100644
--- a/config/webpack/shared.js
+++ b/config/webpack/shared.js
@@ -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,
   },