Shaun
Failed deploy with Hono, Vite and email event handler
@ambergristle I also created an issue on Github (https://github.com/honojs/hono/issues/3955). For now I will just use two projects. One for the email worker and one for the front-end. That prevents using workarounds and will be easier to combine them when a proper fix is created. Thank you very much for all the help!
33 replies
Failed deploy with Hono, Vite and email event handler
I honnestly don't have any idea, I suppose I just tried multiple things. The repo I shared now has the dev and build command I copied from the example and I added the deploy command with Wrangler.
33 replies
Failed deploy with Hono, Vite and email event handler
@ambergristle Thank you for your answer! I read the documentation but couldn't find the way to go from the
cloudflare-workers
starter using yarn create hono
to a way to use the client components. What I did found was https://github.com/honojs/examples/tree/main/hono-vite-jsx mentioned on the vite-plugins repo you send. Using the code with the cloudflare-workers
started I got the same error when using export default { fetch: app.fetch }
.
I uploaded the code to a repo: https://github.com/shaunjanssens/hono-tsx
Can you please check what I'm doing wrong? Thank you!33 replies