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
Hey! 馃憢 Miniflare's role is to provide a JavaScript API for the workerd runtime, and provide simulators for the rest of the Cloudflare Developer Platform. Wrangler on the other hand provides a full-workers development experience, including a CLI and support for TypeScript.
Given this, it's unlikely we'll support TypeScript to Miniflare in the near future, as workerd doesn't provide support for it. I'd recommend compiling your TypeScript with tsc or a tool like esbuild before hand, and then passing the built output to Miniflare. We're also working on improvements to Wrangler's API at the moment too. This will provide support for TypeScript at an API level, and frameworks like Astro may want to consider using that when it's ready.
Describe the solution
I've tried using something like this in astro cloudflare plugin but it's throwing an error
Relevant Line
The text was updated successfully, but these errors were encountered: