]> cat aescling's git repositories - mastodon.git/commitdiff
Fix assets failing to build with OpenSSL 3 because of deprecated hash algorithm ...
authorClaire <claire.github-309c@sitedethib.com>
Fri, 1 Apr 2022 21:55:32 +0000 (23:55 +0200)
committerGitHub <noreply@github.com>
Fri, 1 Apr 2022 21:55:32 +0000 (23:55 +0200)
Fixes #17924

config/webpack/shared.js

index 05828aebe076ef30e68e256fe32d12e2d837c5ac..3447e711c11e09ca73c5d901778abe66cf797dd9 100644 (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,
   },