It was a pain in the a*s for people to solve the issue with webpack5 and web3.js, so I gave the solution