Skip to content

Conversation

jamesopstad
Copy link
Contributor

Summary

Vite 7 support in the Cloudflare Vite plugin

Screenshots (optional)

Documentation checklist

  • The documentation style guide has been adhered to.
  • If a larger change - such as adding a new page- an issue has been opened in relation to any incorrect or out of date information that this PR fixes.
  • Files which have changed name or location have been allocated redirects.

Copy link
Contributor

github-actions bot commented Jul 4, 2025

This pull request requires reviews from CODEOWNERS as it changes files that match the following patterns:

Pattern Owners
/src/content/changelog/ @cloudflare/pm-changelogs, @cloudflare/pcx-technical-writing

Copy link
Contributor

github-actions bot commented Jul 4, 2025

Copy link
Contributor

@irvinebroque irvinebroque left a comment

Choose a reason for hiding this comment

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

Screenshot 2025-07-07 at 5 25 49 PM

anything we should highlight here from this?

esp about opening the door to plugin interop?

https://vite.dev/guide/api-environment-frameworks.html#environments-during-build

@jamesopstad jamesopstad force-pushed the james/vite-7-support branch from 13cea79 to 7de0ac7 Compare July 17, 2025 13:13
@jamesopstad
Copy link
Contributor Author

anything we should highlight here from this?

esp about opening the door to plugin interop?

https://vite.dev/guide/api-environment-frameworks.html#environments-during-build

I've added some more context to the first paragraph - 7de0ac7.


[Vite 7](https://vite.dev/blog/announcing-vite7) is now supported in the Cloudflare Vite plugin.
It includes a new `buildApp` hook that enables multiple plugins to coordinate building environments.
In a future release, we will utilize this to build auxiliary Workers in React Router applications.
Copy link
Contributor

Choose a reason for hiding this comment

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

Not sure I know what an "auxiliary Worker" is as reader of this

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I would be inclined to remove the last two sentences again to be honest. This is mainly a compatibility update and we are remaining backwards compatible with Vite 6 so there's not much exciting to say here. Totally understand if that makes it not worthy of a changelog and happy to close if that's the case.

Copy link
Contributor

Choose a reason for hiding this comment

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

What if we just keep it short and say "See the Vite Changelog for a list of newly added features in Vite 7"

Nothing that's newly supported seems that exciting in Vite 7 TBH and will take time to explain properly and not be Workers-specific.

But I'm still inclined to just get a little note out to get more people realizing Vite is supported.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@jamesopstad jamesopstad requested a review from a team as a code owner September 2, 2025 08:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants