Skip to content

Commit

Permalink
externalize fiftyone plugins too (#4897)
Browse files Browse the repository at this point in the history
  • Loading branch information
sashankaryal authored Oct 5, 2024
1 parent a2d26f0 commit 46c1929
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/packages/plugins/src/externalize.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand All @@ -19,6 +20,7 @@ declare global {
__fou__: typeof fou;
__foo__: typeof foo;
__fosp__: typeof fosp;
__fop__: typeof fop;
__mui__: typeof mui;
__styled__: typeof styled;
}
Expand All @@ -36,5 +38,6 @@ if (typeof window !== "undefined") {
window.__foo__ = foo;
window.__fosp__ = fosp;
window.__mui__ = mui;
window.__fop__ = fop;
window.__styled__ = styled;
}

0 comments on commit 46c1929

Please sign in to comment.