Patch Changes
-
#8432
d611caf
Thanks @GregBrimble! - Experimental: add support for Workers Assets metafiles (_headers and _redirects) invite dev
.Experimental feature: This feature is being made available behind an experimental option (
headersAndRedirectsDevModeSupport
) in the cloudflare plugin configuration. It could change or be removed at any time.cloudflare({ // ... experimental: { headersAndRedirectsDevModeSupport: true }, }),
Currently, in this experimental mode, requests that would result in an HTML response or a 404 response will take into account the _headers and _redirects settings.
Known limitation: requests for existing static assets will be served directly by Vite without considering the _headers or _redirects settings.
Production deployments or using
vite preview
already accurately supports the_headers
and_footers
features. The recommendation is to usevite preview
for local testing of these settings. -
Updated dependencies [
7682675
,9c844f7
,d8c0495
,29cb306
,e4b76e8
]:- miniflare@4.20250321.0
- wrangler@4.4.1
- @cloudflare/unenv-preset@2.3.1