one
Version:
One is a new React Framework that makes Vite serve both native and web.
13 lines (12 loc) • 611 B
JavaScript
import { TextDecoder as TextDecoderPolyfill } from "@bacons/text-decoder";
import structuredClone from "@ungap/structured-clone";
import "@azure/core-asynciterator-polyfill";
import "core-js/actual/url";
import "core-js/actual/url-search-params";
import { promiseWithResolvers } from "./utils/promiseWithResolvers";
globalThis.global = globalThis;
globalThis.TextDecoder ||= TextDecoderPolyfill;
globalThis.structuredClone ||= structuredClone;
globalThis.requestAnimationFrame ||= setTimeout;
Promise.withResolvers || (Promise.withResolvers = promiseWithResolvers);
//# sourceMappingURL=polyfills-mobile.js.map