UNPKG

one

Version:

One is a new React Framework that makes Vite serve both native and web.

14 lines (13 loc) 950 B
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.native.js"; var _globalThis, _TextDecoder, _globalThis1, _structuredClone, _globalThis2, _requestAnimationFrame; globalThis.global = globalThis; (_globalThis = globalThis)[_TextDecoder = "TextDecoder"] || (_globalThis[_TextDecoder] = TextDecoderPolyfill); (_globalThis1 = globalThis)[_structuredClone = "structuredClone"] || (_globalThis1[_structuredClone] = structuredClone); (_globalThis2 = globalThis)[_requestAnimationFrame = "requestAnimationFrame"] || (_globalThis2[_requestAnimationFrame] = setTimeout); Promise.withResolvers || (Promise.withResolvers = promiseWithResolvers); //# sourceMappingURL=polyfills-mobile.native.js.map