diff --git a/app/src/index.tsx b/app/src/index.tsx index b62411c..8624fcf 100644 --- a/app/src/index.tsx +++ b/app/src/index.tsx @@ -3,7 +3,7 @@ import { render } from 'solid-js/web' import './index.css' import App from './App.tsx' -// If I am not mistaken, this should keep the polyfill out of the bundle +// Keep polyfill out of the bundle. You can see this as vite generates two js bundles, one with only the polyfill and one without. if (!("Temporal" in globalThis)) { console.debug("Temporal not found, polyfilling..."); const { Temporal } = await import("temporal-polyfill");