feat: code splitting (#3593)

Co-authored-by: Angelos Bouklis <me@arjix.dev>
This commit is contained in:
JellyBrick
2025-07-12 00:00:03 +09:00
committed by GitHub
parent c04dc92d39
commit b53ece5836
15 changed files with 189 additions and 120 deletions

View File

@ -159,9 +159,9 @@ export default createPlugin({
const config = await getConfig();
this.config = config;
const moveVolumeHud = window.mainConfig.plugins.isEnabled(
const moveVolumeHud = (await window.mainConfig.plugins.isEnabled(
'precise-volume',
)
))
? (preciseVolumeMoveVolumeHud as (_: boolean) => void)
: () => {};