TanStack Start with Deno runtime on Workers?

Can I deploy the TanStack Start with deno project to Cloudflare workers?
8 Replies
Hard@Work
Hard@Work2mo ago
Like, using Deno for builds? Or for running the actual code once built?
sithu
sithuOP2mo ago
I am using deno instead of node. And deno.json instead of package.json
Hard@Work
Hard@Work2mo ago
But to confirm, do you want to use deno for builds? That can probably work But not for running it once it is actually deployed
sithu
sithuOP2mo ago
like instead of process.env.NODE_ENV it will be like Deno.env.get("NODE_ENV") so, won't work?
Hard@Work
Hard@Work2mo ago
During build?
sithu
sithuOP2mo ago
I mean like deno task build
Hard@Work
Hard@Work2mo ago
During build, you can use deno stuff, yeah. I don't think the build image has Deno installed by default, but you can install it yourself https://developers.cloudflare.com/workers/ci-cd/builds/build-image/
Cloudflare Docs
Build image
Understand the build image used in Workers Builds.
sithu
sithuOP2mo ago
okay Thanks, I will look into it

Did you find this page helpful?