, everything works fine. However, if I push to GitHub, the Cloudflare build fails with:
Error: The provided Wrangler config main field (/opt/buildhome/repo/dist/random_stuff/index.js) doesn't point to an existing file
Error: The provided Wrangler config main field (/opt/buildhome/repo/dist/random_stuff/index.js) doesn't point to an existing file
Am I holding it wrong? I'm trying to get wrangler to use the build version of the JS for the worker. If I don't manually point it there, it tries to use the unbuilt version.