thomvaill/log4brains

Upgrade Next.js and to remove the openssl workaround

thomvaill opened this issue · 1 comments

We are running Next.js v10, while the current latest major version available is v14.

Next.js v10 runs Webpack 4, which uses a deprecated openssl hashing algorithm (md4) (#85).
A workaround was introduced:

But we should try to upgrade ASAP to get rid of this workaround.

Since we rely a lot on Next.js hacks (#NEXTJS-HACK comments in the code), the task does not look easy at all. Let's first assess if we should target to latest version, or a closer one, like v11 which introduces Webpack 5.

Blocks #4 since it may change the images behaviour