Fix/cf worker workers dev config 3818798249323887751 - #1264
Open
bxnxnxhzhdhdjdjjx-spec wants to merge 7 commits into
Open
bxnxnxhzhdhdjdjjx-spec wants to merge 7 commits into
bxnxnxhzhdhdjdjjx-spec wants to merge 7 commits into
Conversation
Co-authored-by: bxnxnxhzhdhdjdjjx-spec <315051886+bxnxnxhzhdhdjdjjx-spec@users.noreply.github.com>
…kers-readme-guide-9851321234995576866 docs: add Cloudflare Workers deployment and usage section to README
Cloudflare Workers requires the `nodejs_compat` compatibility flag and a recent `compatibility_date` (2024-09-23 or later) when bundling modules that rely on Node.js built-ins like `module` or `node:` specifiers. Update Wrangler configuration in example and README documentation accordingly. Co-authored-by: bxnxnxhzhdhdjdjjx-spec <315051886+bxnxnxhzhdhdjdjjx-spec@users.noreply.github.com>
Add wrangler.toml at repository root targeting bundle/cf-worker.js with nodejs_compat flag and compatibility_date 2024-09-23 so Cloudflare Workers deployments succeed. Also update example wrangler.toml and README documentation. Co-authored-by: bxnxnxhzhdhdjdjjx-spec <315051886+bxnxnxhzhdhdjdjjx-spec@users.noreply.github.com>
…s-compat-10476744337110319752 fix(cf-worker): add nodejs_compat flag to Wrangler configuration
Set `workers_dev = true` in `wrangler.toml` to silence Wrangler warning and explicitly enable routing on workers.dev during deployments. Co-authored-by: bxnxnxhzhdhdjdjjx-spec <315051886+bxnxnxhzhdhdjdjjx-spec@users.noreply.github.com>
Set `workers_dev = true` in `wrangler.toml` to silence Wrangler warning and explicitly enable routing on workers.dev during deployments. Co-authored-by: bxnxnxhzhdhdjdjjx-spec <315051886+bxnxnxhzhdhdjdjjx-spec@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.