From 46c1929311d46aae0b34a337081794989d0aee7c Mon Sep 17 00:00:00 2001 From: Sashank Aryal <66688606+sashankaryal@users.noreply.github.com> Date: Fri, 4 Oct 2024 19:31:46 -0500 Subject: [PATCH] externalize fiftyone plugins too (#4897) --- app/packages/plugins/src/externalize.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/packages/plugins/src/externalize.ts b/app/packages/plugins/src/externalize.ts index 923070fe30..f8a0fd2691 100644 --- a/app/packages/plugins/src/externalize.ts +++ b/app/packages/plugins/src/externalize.ts @@ -3,6 +3,7 @@ import * as foo from "@fiftyone/operators"; import * as fos from "@fiftyone/state"; import * as fou from "@fiftyone/utilities"; import * as fosp from "@fiftyone/spaces"; +import * as fop from "@fiftyone/plugins"; import * as mui from "@mui/material"; import React from "react"; import ReactDOM from "react-dom"; @@ -19,6 +20,7 @@ declare global { __fou__: typeof fou; __foo__: typeof foo; __fosp__: typeof fosp; + __fop__: typeof fop; __mui__: typeof mui; __styled__: typeof styled; } @@ -36,5 +38,6 @@ if (typeof window !== "undefined") { window.__foo__ = foo; window.__fosp__ = fosp; window.__mui__ = mui; + window.__fop__ = fop; window.__styled__ = styled; }