16 lines
541 B
JavaScript
16 lines
541 B
JavaScript
import { fetch as fetch$1 } from 'undici';
|
|
import { createNodeFetch, Headers } from './node.mjs';
|
|
export { Headers } from './node.mjs';
|
|
import { c as createFetch } from './shared/ohmyfetch.d1948a88.mjs';
|
|
export { F as FetchError, c as createFetch, a as createFetchError } from './shared/ohmyfetch.d1948a88.mjs';
|
|
import 'http';
|
|
import 'https';
|
|
import 'node-fetch-native';
|
|
import 'destr';
|
|
import 'ufo';
|
|
|
|
const fetch = globalThis.fetch || fetch$1 || createNodeFetch();
|
|
const $fetch = createFetch({ fetch, Headers });
|
|
|
|
export { $fetch, fetch };
|