/** * Polyfill performance for the workflow isolate. * * OTel v2's browser platform accesses `performance` at module scope. * This file MUST have zero imports so webpack initializes it before any * OTel module that references `performance`. * * The guard uses two checks: * - `__webpack_module_cache__` on globalThis is a positive indicator of the * workflow sandbox (set by the SDK's VM creators before the bundle evaluates). * - `performance` being undefined confirms polyfilling is needed. The polyfill * reads workflow time from the activator so it is safe during preload. * * @module */ export {};