When the branch deploys to Vercel, the build is successfull, but the browser shows that it has crashed.
This seems to be caused by a wrong import of the CryptoJS module, since it is a CommonJS module which is imported via a named import. Oddly enough, I could not recreate the error on my machine, it only happens on Vercel.
The problem is that all other normal ways to import it result in the same error.
Ways to fix: Find a working way to import CryptoJS to vercel.
When the branch deploys to Vercel, the build is successfull, but the browser shows that it has crashed. This seems to be caused by a wrong import of the CryptoJS module, since it is a CommonJS module which is imported via a named import. Oddly enough, I could not recreate the error on my machine, it only happens on Vercel. The problem is that all other normal ways to import it result in the same error.
Ways to fix: Find a working way to import CryptoJS to vercel.