Open scruffymongrel opened 1 day ago
I don't think this is meant to be supported in dev, but maybe @alexanderniebuhr has a better idea of this.
Yeah we don't have support for this in dev
unless Cloudflare has a solution for local support?
Yeah I don't think Cloudflare provides local support for that. I wonder if it's worth providing a better error message when a cloudflare builtin is encountered, if not maybe we can close this.
Astro Info
If this issue only occurs in one browser, which browser is a problem?
No response
Describe the Bug
I'm trying to
import { EmailMessage } from 'cloudflare:email'
in an Astro page.Normally this kinda import would be used in Workers just fine, but Astro seems unable to do the magic...
When I request the page, I get the following stack trace:
I'm using the following
astro.config.js
:What's the expected result?
I would like for the page to render without error.
Link to Minimal Reproducible Example
https://stackblitz.com/edit/github-6doees
Participation