Skip to content

Conversation

@jamesopstad
Copy link
Contributor

Summary

Adds headers and redirects section to the Static Assets page in the Vite plugin docs.
Also adds a note that auxiliary Workers are not currently compatible with React Router.

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 Apr 8, 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

Enhanced the Vite plugin documentation by adding a new section for headers and redirects, and clarified compatibility issues with auxiliary Workers and React Router.

  • Added a new section on headers and redirects to the Static Assets page.
  • Clarified that auxiliary Workers are not compatible with React Router.
  • Updated deployment notes for auxiliary Workers.

Modified Files

  • src/content/docs/workers/vite-plugin/reference/api.mdx
  • src/content/docs/workers/vite-plugin/reference/static-assets.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.

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.

🙌

@jamesopstad jamesopstad merged commit 8c412f9 into production Apr 8, 2025
12 checks passed
@jamesopstad jamesopstad deleted the james/vite-plugin-updates branch April 8, 2025 14:18
RebeccaTamachiro pushed a commit that referenced this pull request Apr 21, 2025
* Add note about auxiliary Workers and React Router

* Add headers and redirects section to Static Assets
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/s

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants