-
Notifications
You must be signed in to change notification settings - Fork 9.9k
Closed
Labels
content:editRequest for content editsRequest for content editsdocumentationDocumentation editsDocumentation editsproduct:workersRelated to Workers productRelated to Workers product
Description
Existing documentation URL(s)
https://developers.cloudflare.com/workers/wrangler/configuration/#inheritable-keys
What changes are you suggesting?
The "Inheritable keys" section of the documentation page states (in the "Note" aside at the top of the section and in the list of keys below) that the main key is required in a Wrangler config in order to deploy a worker. However, as I found when making a worker, Wrangler accepts configs with no main key without warnings or errors, e.g., for static sites that are generated on the user's machine before invoking Wrangler. Other pages include examples of wrangler.jsonc files that don't provide the main key.
Additional information
No response
Metadata
Metadata
Labels
content:editRequest for content editsRequest for content editsdocumentationDocumentation editsDocumentation editsproduct:workersRelated to Workers productRelated to Workers product