Closed mathiasrw closed 4 years ago
To your questions:
What error are you encountering, and how can we reproduce it?
You could consider using https://github.com/cloudflare/workers-types , although I'm not sure if that will directly address your issue.
More broadly: what are you looking to achieve? The Workers runtime is different from Deno, and Node, and Chrome.
Thank you @ispivey for your answer. Ill close this task and reopen of there is a specific issue.
Yes, its Deno that I would like to use for making the js ending up in the worker.
Question / feature request
I wanted to see if I could make wrangler support javascript development in Deno.
The easy path is to use Deno for development, bundle with Deno to a single .js and bundle that as normal with wrangler. This works, but I am having issues with the KV way of including a "magic" undefined namespace as a variable.
Question:
Is there any documentation to why the namespace space solution was selected instead of asking people to include a specific module and add some configuration?
Is there a way of connecting to the KV without using the magic namespace?