Node 18 and newer switched to OpenSSL 3, which does not support the MD4 hash algorithm. Unfortunately, Webpack 4 hardcodes the use of MD4 at various places. This leaves us no other option than to monkey-patch node to transform calls to the MD4 hash to use SHA256. References: https://github.com/webpack/webpack/issues/14532 https://stackoverflow.com/questions/69394632/webpack-build-failing-with-err-ossl-evp-unsupported/69691525#69691525 Signed-off-by: David Mehren <git@herrmehren.de>
14 KiB
14 KiB