From 4348eda77f4afa1f173f21a1868868f5a835efee Mon Sep 17 00:00:00 2001 From: Steven Vandevelde Date: Wed, 15 Apr 2026 10:51:28 +0200 Subject: [PATCH] fix: don't async load temporal polyfill --- src/common/temporal.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/common/temporal.js b/src/common/temporal.js index 364bca7f..c9fba3d3 100644 --- a/src/common/temporal.js +++ b/src/common/temporal.js @@ -1,5 +1,6 @@ -export const Temporal = /** @type {any} */ (globalThis).Temporal ?? - (await import("temporal-polyfill")).Temporal; +import { Temporal as _polyfill } from "temporal-polyfill"; + +export const Temporal = /** @type {any} */ (globalThis).Temporal ?? _polyfill; /** * @param {string} a -- 2.51.2