Skip to content

Conversation

@jamesopstad
Copy link
Contributor

Summary

This updates the Vite plugin Static Assets docs and adds a changelog entry to reflect the recent enhancements to static asset handling.

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.

@hyperlint-ai
Copy link
Contributor

hyperlint-ai bot commented Jun 27, 2025

Howdy and thanks for contributing to our repo. The Cloudflare team reviews new, external PRs within two (2) weeks. If it's been two weeks or longer without any movement, please tag the PR Assignees in a comment.

We review internal PRs within 1 week. If it's something urgent or has been sitting without a comment, start a thread in the Developer Docs space internally.


PR Change Summary

Updated the Vite plugin Static Assets documentation and added a changelog entry to reflect recent enhancements.

  • Clarified the requirements for enabling static assets in the Vite plugin.
  • Expanded the configuration section to include conditions for building the client environment.
  • Added a new features section detailing static asset handling capabilities.
  • Updated the tutorial to reflect changes in the Worker fetch method.

Modified Files

  • src/content/docs/workers/vite-plugin/reference/static-assets.mdx
  • src/content/docs/workers/vite-plugin/tutorial.mdx

How can I customize these reviews?

Check out the Hyperlint AI Reviewer docs for more information on how to customize the review.

If you just want to ignore it on this PR, you can add the hyperlint-ignore label to the PR. Future changes won't trigger a Hyperlint review.

Note specifically for link checks, we only check the first 30 links in a file and we cache the results for several hours (for instance, if you just added a page, you might experience this). Our recommendation is to add hyperlint-ignore to the PR to ignore the link check for this PR.

@github-actions
Copy link
Contributor

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-cloudflare-one
/src/content/docs/workers/ @cloudflare/workers-docs, @GregBrimble, @irvinebroque, @mikenomitch, @korinne, @WalshyDev, @cloudflare/deploy-config, @cloudflare/pcx-technical-writing, @kodster28, @cloudflare/wrangler, @cloudflare/workers-runtime-1, @cloudflare/wrangler

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.

Thank you for changelog!

@github-actions github-actions bot added size/m and removed size/s labels Jun 27, 2025
@jamesopstad jamesopstad force-pushed the james/vite-plugin-enhanced-assets branch from 1a64e53 to 40dad24 Compare July 1, 2025 09:56
@jamesopstad jamesopstad merged commit 2fff8d8 into production Jul 1, 2025
11 checks passed
@jamesopstad jamesopstad deleted the james/vite-plugin-enhanced-assets branch July 1, 2025 10:19
sdnts pushed a commit to sdnts/cloudflare-docs that referenced this pull request Jul 24, 2025
…lare#23283)

* Update Vite plugin static assets page

* Reference run_worker_first in tutorial

* Add changelog entry

* PR feedback

* Updated changelog date
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

product:workers Related to Workers product size/m

Projects

None yet

Development

Successfully merging this pull request may close these issues.