diff --git a/debug/plugins/timings-babel.mjs b/debug/plugins/timings-babel.mjs index 178e71a641..75d8b64ab1 100644 --- a/debug/plugins/timings-babel.mjs +++ b/debug/plugins/timings-babel.mjs @@ -47,9 +47,9 @@ function captureStackTrace () { export const leading = ` const ___captureStackTrace = ${captureStackTrace.toString()}; -globalThis.___calls = {}; -globalThis.___timings = {}; -globalThis.___callers = {};` +globalThis.___calls ||= {}; +globalThis.___timings ||= {}; +globalThis.___callers ||= {};` function onExit () { if (globalThis.___logged) { return }