On Next.js 14 with resend 2.0.0/2.0.0-canary.2, passing a React email component to the react property of resend.emails.send breaks next build with: ./node_modules/html-to-text/lib/html-to-text.mjs + 24 modules / Cannot get final name for export 'encodeXML' of ./node_modules/entities/lib/esm/index.js. It works fine in local dev; only the production build fails. Multiple reporters reproduced the same failure on resend 2.0.0.