You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a worker that uses kv-asset-handler and reads the __STATIC_CONTENT_MANIFEST global variable to do some checks.
When previewing the project with wrangler dev, everything is fine, but with wrangler dev --local the variable appears to be undefined or an empty object depending on whether I use a service worker or a module worker.
That's what currently prevents me from using the local mode, but perhaps I'm doing it wrong.
`__STATIC_CONTENT_MANIFEST` was previously empty to disable
edge-caching. The manifest is now populated, with values having a
magic prefix. URLs starting with this magic prefix are never cached.
Closes#326.
Closescloudflare/workers-sdk#1632.
What version of
Wrangler
are you using?2.0.24
What operating system are you using?
Linux
Describe the Bug
I have a worker that uses
kv-asset-handler
and reads the__STATIC_CONTENT_MANIFEST
global variable to do some checks.When previewing the project with
wrangler dev
, everything is fine, but withwrangler dev --local
the variable appears to be undefined or an empty object depending on whether I use a service worker or a module worker.That's what currently prevents me from using the local mode, but perhaps I'm doing it wrong.
Here is a repository to reproduce the issue: https://github.com/PolariTOON/no-static-content-manifest-in-miniflare
The text was updated successfully, but these errors were encountered: