Skip to content

Comments

feat(cloudflare): support vite plugins options#13278

Merged
sarah11918 merged 2 commits intov6from
feat/cf-plugin-options
Feb 24, 2026
Merged

feat(cloudflare): support vite plugins options#13278
sarah11918 merged 2 commits intov6from
feat/cf-plugin-options

Conversation

@florian-lefebvre
Copy link
Member

Description (required)

Related issues & labels (optional)

  • Closes #
  • Suggested label:

For Astro version: 6.x. See astro PR #15556.

@netlify
Copy link

netlify bot commented Feb 17, 2026

Deploy Preview for astro-docs-2 ready!

Name Link
🔨 Latest commit 44cc32d
🔍 Latest deploy log https://app.netlify.com/projects/astro-docs-2/deploys/699dd5c2724fb30008ef57cd
😎 Deploy Preview https://deploy-preview-13278--astro-docs-2.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@astrobot-houston
Copy link
Contributor

astrobot-houston commented Feb 17, 2026

Lunaria Status Overview

🌕 This pull request will trigger status changes.

Learn more

By default, every PR changing files present in the Lunaria configuration's files property will be considered and trigger status changes accordingly.

You can change this by adding one of the keywords present in the ignoreKeywords property in your Lunaria configuration file in the PR's title (ignoring all files) or by including a tracker directive in the merged commit's description.

Tracked Files

File Note
en/guides/integrations-guide/cloudflare.mdx Source changed, localizations will be marked as outdated.
Warnings reference
Icon Description
🔄️ The source for this localization has been updated since the creation of this pull request, make sure all changes in the source have been applied.

## 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!

@sarah11918 sarah11918 added add new content Document something that is not in docs. May require testing, confirmation, or affect other pages. merge-on-release Don't merge this before the feature is released! (MQ=approved but WAIT for feature release!) 6.0 labels Feb 23, 2026
@sarah11918 sarah11918 added this to the v6.0.0 docs milestone Feb 23, 2026
@florian-lefebvre
Copy link
Member Author

@sarah11918 can I get your review on the associated changeset?

@sarah11918 sarah11918 merged commit 1438889 into v6 Feb 24, 2026
10 checks passed
@sarah11918 sarah11918 deleted the feat/cf-plugin-options branch February 24, 2026 16:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

6.0 add new content Document something that is not in docs. May require testing, confirmation, or affect other pages. merge-on-release Don't merge this before the feature is released! (MQ=approved but WAIT for feature release!)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants