Replies: 2 comments
-
I'd love it to use Our internal docs infrastructure only supports static files, so it's a shame we can't host this preview server on it since it's a waste to provision an entire server just for a preview that gets a tiny amount of traffic. |
Beta Was this translation helpful? Give feedback.
-
I've tried deploying the React Email preview server to Cloudflare Workers. Ideally, I'd use the preview server's export functionality, but I suspect this isn't possible since it requires server functionality (especially with the integrated send button). My approach was to:
However, I'm receiving errors indicating the email folder can't be found. I believe this occurs because the React Email build command performs certain scaffolding operations that aren't captured when running the Cloudflare preview. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Is it possible to deploy the preview using
email build
somewhere else that is not Vercel? For example a docker container. I have not been able to find out any info about this anywhere. I guess you would need to putoutput: standalone
in the nextjs config, but there's no mention of overriding the default nextjs config in the docs anywhere.Beta Was this translation helpful? Give feedback.
All reactions