Not quite yet, I don't think. @James maybe knows a bit more, but this issue (https://github.com/clou
Not quite yet, I don't think. @James maybe knows a bit more, but this issue (https://github.com/cloudflare/kv-asset-handler/issues/174) and open PR (https://github.com/cloudflare/kv-asset-handler/pull/200) suggest that Workers Sites aren't yet possible (at least without some hacks) with the ES Modules format (which is required for Durable Objects).
(Sorry for all the parenthesis)
(Sorry for all the parenthesis)
GitHub
It seems that this package still has the assumption of the old worker format (e.g. global environment variables, FetchEvent, etc) and does not work properly with the new ES6 module format. I would ...
GitHub
Here I introduce a possible solution for handling the retrieval of assets from the KV when using the module syntax in your workers. You can see in my PR that instead of FetchEvent, the method takes...