How to add jsx support for React-email in workers?

I can't run my worker in dev (or remote) since I'm using JSX to render my emails. How would I go about fixing this? I'm using the renderAsync method so it's not a node issue.
1 Reply
autumncicada
autumncicadaOP9mo ago
ok, i needed to change my tsconfig jsx to "react-jsx"

Did you find this page helpful?