Add better documentation for working with cloudflare workers #12272
Replies: 2 comments
-
Thanks for letting us know, and sorry you're had trouble putting things together! It can be challenging for us to document with third-party services because we mostly focus on the "getting the two connected" part, and have to rely on e.g. Cloudflare for details on their config, implementation etc. So, while we wouldn't necessarily for example show how to config I'll loop @alexanderniebuhr in on this at least, and maybe the two of you could discuss here what's missing from our docs, and from where (the Actions page? The Cloudflare adapter page?) so that we can figure out which information we might need to add and put it in the spot where people are looking for it! |
Beta Was this translation helpful? Give feedback.
-
@NickMous Thanks for that. I agree we don't have everything documented yet, but as @sarah11918 said not everything is needed typically. E.g. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hiya!
I have been stuck for a long time on working with actions and cloudflare. Finally, I have everything working. But or I am reading really badly, or the docs aren't there, because I was missing alot of important configuration.
Such as
In the astro docs, the
wrangler.jsonc
config isn't there, and is mandatory. While I had that, in the cloudflare docs they didn't mention the"main"
entry as needed, and"compatibility_flags"
was also needed in order for wrangler to use node built-ins.To prevent the next person from running into this, I suggest adding this kind of info. If needed, I can contribute and improve the docs.
Beta Was this translation helpful? Give feedback.
All reactions