Refactor webpack; Add ErrorBoundary
This commit is contained in:
parent
98cb301df5
commit
a7ccbcfca4
10 changed files with 233 additions and 150 deletions
|
|
@ -1,7 +1,11 @@
|
|||
export * as Plugins from "./plugins";
|
||||
export * as Webpack from "./webpack";
|
||||
export * as Api from "./api";
|
||||
export * as Components from "./components";
|
||||
|
||||
import "./utils/patchWebpack";
|
||||
import "./utils/quickCss";
|
||||
import { waitFor } from "./webpack";
|
||||
|
||||
export let Components;
|
||||
|
||||
waitFor("useState", () => setTimeout(() => import("./components").then(mod => Components = mod), 0));
|
||||
Loading…
Add table
Add a link
Reference in a new issue