The trick to getting this done easily is to create a new project with Remix CLI selecting Cloudflare workers and copy your entire app folder from your original project to the one you just created
npx create-remix@latest mycloudflareworkersapp
app/entry.client.tsx
on a notepadapp/entry.client.tsx
with the content of the backup on your notepad , here you must be careful to not omit any customization from your original project.@remix-run/node
( or @remix-run/deno ) with @remix-run/cloudflare
process.env
you need to migrate them to the cloudflare workers way adding them on the vars section of your wrangler.tomlDon’t forget to backup your entry.client.ts
from the generated project on cloudflare workers