feat: init
This commit is contained in:
10
node_modules/unenv/dist/runtime/polyfill/performance.mjs
generated
vendored
Normal file
10
node_modules/unenv/dist/runtime/polyfill/performance.mjs
generated
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
import { performance, Performance, PerformanceEntry, PerformanceMark, PerformanceMeasure, PerformanceObserver, PerformanceObserverEntryList, PerformanceResourceTiming } from "../web/performance/index.mjs";
|
||||
globalThis.performance ||= performance;
|
||||
globalThis.Performance ||= Performance;
|
||||
globalThis.PerformanceEntry ||= PerformanceEntry;
|
||||
globalThis.PerformanceMark ||= PerformanceMark;
|
||||
globalThis.PerformanceMeasure ||= PerformanceMeasure;
|
||||
globalThis.PerformanceObserver ||= PerformanceObserver;
|
||||
globalThis.PerformanceObserverEntryList ||= PerformanceObserverEntryList;
|
||||
globalThis.PerformanceResourceTiming ||= PerformanceResourceTiming;
|
||||
export default globalThis.performance;
|
||||
Reference in New Issue
Block a user