Skip to content

Commit 6a02d0a

Browse files
authored
[Workers] Updating note on the main key (#24313)
* Updating note on the main key * Adding clarification for assets-only workers
1 parent 5446c04 commit 6a02d0a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,8 @@ Inheritable keys are configurable at the top-level, and can be inherited (or ove
9999
:::note
100100

101101
At a minimum, the `name`, `main` and `compatibility_date` keys are required to deploy a Worker.
102+
103+
The `main` key is optional for assets-only Workers.
102104
:::
103105

104106
- `name` <Type text="string" /> <MetaInfo text="required" />
@@ -1091,7 +1093,7 @@ The following options are available:
10911093
- The instance type of the container. This determines the amount of memory, CPU, and disk given to the container
10921094
instance. The current options are `"dev"`, `"basic"`, and `"standard"`. The default is `"dev"`. For more information,
10931095
the see [instance types documentation](/containers/platform-details#instance-types).
1094-
1096+
10951097
- To specify a custom instance type, see [here](#custom-instance-types).
10961098

10971099
- `max_instances` <Type text="string" /> <MetaInfo text="optional" />

0 commit comments

Comments
 (0)