[Update] Change download and load plugins structure.(change the plugins' build method vite to webpack. load esm.js )

This commit is contained in:
Sakamoto Shiina
2025-03-11 01:03:18 +09:00
parent 48c6e7d69f
commit 77795192a0
10 changed files with 428 additions and 278 deletions

View File

@@ -1,10 +1,9 @@
import { useEffect } from "react";
import { usePlugins } from "@logics_configs";
// ホスト側でReactやjotaiをグローバル変数として提供
import ReactModule from "react";
import React, { useEffect } from "react";
if (typeof window !== "undefined") {
window.React = ReactModule;
window.React = React;
}
export const PluginsController = () => {