Closed sysmat closed 8 months ago
You'd only need module
if you're using top level await. You can wrap the call to nodemailer in an iife, or function that's called.
jsx-email is an email rendering package. much like react-email, you have to understand how to use a third party email provider along with the package.
@shellscape thx, yes I could avoid "type": "module", by wrapping it in function
Documentation Is:
Please Explain in Detail...
Your Proposal for Changes
create-jsx-email
create example sendMail.tsx"type": "module"
,script : {"mail": "tsx SendMail.tsx"}
to be able to runnpm run mail