Refactor webpack; Add ErrorBoundary

This commit is contained in:
Vendicated 2022-08-31 20:47:07 +02:00
parent 98cb301df5
commit a7ccbcfca4
No known key found for this signature in database
GPG key ID: EC781ADFB93EFFA3
10 changed files with 233 additions and 150 deletions

View file

@ -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));