Skip to content

Conversation

@Oxyjun
Copy link
Contributor

@Oxyjun Oxyjun commented Aug 11, 2025

Summary

Specifying that the main key in the Wrangler file becomes optional if the Worker is using static assets, and therefore specifies the assets directory in the Wrangler file.

Closes #23746.

Screenshots (optional)

Documentation checklist

  • Is there a changelog entry (guidelines)? If you don't add one for something awesome and new (however small) — how will our customers find out? Changelogs are automatically posted to RSS feeds, the Discord, and X.
  • The documentation style guide has been adhered to.
  • If a larger change - such as adding a new page- an issue has been opened in relation to any incorrect or out of date information that this PR fixes.
  • Files which have changed name or location have been allocated redirects.

@Oxyjun Oxyjun requested review from a team, irvinebroque and kodster28 as code owners August 11, 2025 16:45
@github-actions github-actions bot added product:workers Related to Workers product size/xs labels Aug 11, 2025
@github-actions
Copy link
Contributor

This pull request requires reviews from CODEOWNERS as it changes files that match the following patterns:

Pattern Owners
/src/content/docs/workers/wrangler/ @cloudflare/wrangler, @irvinebroque, @kodster28, @cloudflare/pcx-technical-writing, @cloudflare/workers-runtime-1

@github-actions
Copy link
Contributor

github-actions bot commented Aug 11, 2025

@Oxyjun Oxyjun enabled auto-merge (squash) August 12, 2025 10:53
@Oxyjun Oxyjun merged commit 6a02d0a into production Aug 12, 2025
8 checks passed
@Oxyjun Oxyjun deleted the jun/workers/wrangler-main-clarification branch August 12, 2025 11:01
thomasgauvin pushed a commit that referenced this pull request Aug 15, 2025
* Updating note on the main key

* Adding clarification for assets-only workers
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

product:workers Related to Workers product size/xs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Wrangler config docs falsely state that "main" key is required

4 participants