Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion src/content/docs/en/guides/integrations-guide/cloudflare.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,16 @@ Now, you can enable [on-demand rendering per page](/en/guides/on-demand-renderin

## Options

The Cloudflare adapter accepts the following options:
The Cloudflare adapter accepts the following options from [`@cloudflare/vite-plugin`](https://developers.cloudflare.com/workers/vite-plugin/):
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm going to guess that this link is the best one we have? On that page it says absolutely nothing about these options, but I also couldn't easily find anywhere these 6 options were all mentioned together. (The first 4 are mentioned on the specific API page - https://developers.cloudflare.com/workers/vite-plugin/reference/api/ but the last two are not)

Copy link
Member Author

@florian-lefebvre florian-lefebvre Feb 23, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah maybe we could link to https://developers.cloudflare.com/workers/vite-plugin/reference/api/#interface-pluginconfig but otherwise, I also failed to find docs for the rest

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll let you make the call! The API reference page is maybe marginally more helpful in our immediate context of saying you can set these options? But the above link is the "entry page" to everything about the plugin itself, which is a perfectly reasonable thing to link to when mentioning it for the first time! If there were a more obvious link, we'd use it. Right now, I don't think there's a clear winner, so go with your gut!


- `auxiliaryWorkers`
- `configPath`
- `inspectorPort`
- `persistState`
- `remoteBindings`
- `experimental.headersAndRedirectsDevModeSupport`

It also accepts the following:

### `imageService`

Expand Down