Skip to content

Commit b7d2c9e

Browse files
committed
Adding clarification for assets-only workers
1 parent 9293ba6 commit b7d2c9e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/content/docs/workers/wrangler/configuration.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ Inheritable keys are configurable at the top-level, and can be inherited (or ove
100100

101101
At a minimum, the `name`, `main` and `compatibility_date` keys are required to deploy a Worker.
102102

103-
If a Worker uses [static assets](/workers/static-assets/) (and therefore the Wrangler file specifies the assets directory), the `main` key is optional.
103+
The `main` key is optional for assets-only Workers.
104104
:::
105105

106106
- `name` <Type text="string" /> <MetaInfo text="required" />

0 commit comments

Comments
 (0)