fix: docs islands not hydrated on safari 12 (#1837)
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
import "../polyfills.ts";
|
||||
import {
|
||||
Component,
|
||||
ComponentChildren,
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
// Polyfill for old safari versions
|
||||
if (typeof globalThis === "undefined") {
|
||||
// @ts-ignore polyfill
|
||||
window.globalThis = window;
|
||||
}
|
||||
Reference in New Issue
Block a user