Oops! Totally missed this PR. I took a stab at this as well to se if we could punt on #255 for the time being since converting to ESM is not a prerequisite for v2 compatibility. We can launch v2 with the indie stack on CJS and then convert it to ESM separately.
I imagine the only thing that's not in here is the changes to Response and Readble.toWeb in entry.server since the latest prerelease contains the fetch changes
Oops! Totally missed this PR. I took a stab at this as well to se if we could punt on #255 for the time being since converting to ESM is not a prerequisite for v2 compatibility. We can launch v2 with the indie stack on CJS and then convert it to ESM separately.
Here's my changes which I confirmed instaleld correctly against the latest prerelease: https://github.com/remix-run/indie-stack/compare/main...v2
I imagine the only thing that's not in here is the changes to
Response
andReadble.toWeb
inentry.server
since the latest prerelease contains the fetch changes