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
build a project and include new Headers from @adobe/fetch
Platform and Version
Cloudflare
Fastly
Sample Code that illustrates the problem
import { Headers} from "@adobe/fetch";
export async function main(request, context) {
const headers = new Headers({});
}
Logs taken while reproducing problem
_adobe_fetch__WEBPACK_IMPORTED_MODULE_0__.Headers is not a constructor","stack":"$5413b4e374f939b6$export$a92b506d6c85facb@<stdin>:4494:23
$051f64557a3fd257$export$5817729456681d0a@<stdin>:4520:23
main@<stdin>:11074:41
async*handler@<stdin>:376:46
The text was updated successfully, but these errors were encountered:
Expected Behaviour
@adobe/fetch Headers can be used
Actual Behaviour
breaks due to missing in Polyfill
Reproduce Scenario (including but not limited to)
missing dependency
Steps to Reproduce
build a project and include new Headers from @adobe/fetch
Platform and Version
Sample Code that illustrates the problem
Logs taken while reproducing problem
The text was updated successfully, but these errors were encountered: