split up webpack commons into categories & type everything (#455)

This commit is contained in:
Ven 2023-01-25 03:25:29 +01:00 committed by GitHub
parent a38ac956df
commit f19504f828
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
24 changed files with 930 additions and 372 deletions

View file

@ -32,7 +32,7 @@ import { PlainSettings, Settings } from "./api/settings";
import { patches, PMLogger, startAllPlugins } from "./plugins";
import { checkForUpdates, rebuild, update, UpdateLogger } from "./utils/updater";
import { onceReady } from "./webpack";
import { Router } from "./webpack/common";
import { SettingsRouter } from "./webpack/common";
export let Components: any;
@ -71,7 +71,7 @@ async function init() {
"View Update",
() => {
popNotice();
Router.open("VencordUpdater");
SettingsRouter.open("VencordUpdater");
}
);
}, 10_000);