one
Version:
One is a new React Framework that makes Vite serve both native and web.
14 lines (13 loc) • 672 B
JavaScript
import "web-streams-polyfill/polyfill/es5";
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.mjs";
globalThis["global"] = globalThis;
globalThis["TextDecoder"] ||= TextDecoderPolyfill;
globalThis["structuredClone"] ||= structuredClone;
globalThis["requestAnimationFrame"] ||= setTimeout;
Promise.withResolvers || (Promise.withResolvers = promiseWithResolvers);
//# sourceMappingURL=polyfills-mobile.mjs.map