I'm not 100% sure yet why, but it seems like the esm build does not work with nextjs atm. and it's pulling in cjs version of viem as well.  - potentially related https://github.com/vercel/next.js/issues/39375
I'm not 100% sure yet why, but it seems like the esm build does not work with nextjs atm. and it's pulling in cjs version of viem as well.