File size: 315 Bytes
1794757 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 | import { createPlatformRuntime } from "../lib/platform";
declare global {
interface Window {
__trenches?: Awaited<ReturnType<typeof createPlatformRuntime>>;
}
}
export async function bootstrapPlatform() {
const runtime = await createPlatformRuntime();
window.__trenches = runtime;
return runtime;
}
|