From f385879b4bbdfbe99ac7b72c986243aa127c1c52 Mon Sep 17 00:00:00 2001 From: thororen1234 <78185467+thororen1234@users.noreply.github.com> Date: Fri, 14 Feb 2025 02:26:41 -0500 Subject: [PATCH] Fix plugin imports --- src/components/ThemeSettings/ThemesTab.tsx | 2 +- tsconfig.json | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/ThemeSettings/ThemesTab.tsx b/src/components/ThemeSettings/ThemesTab.tsx index 18996136..12e49d6d 100644 --- a/src/components/ThemeSettings/ThemesTab.tsx +++ b/src/components/ThemeSettings/ThemesTab.tsx @@ -27,7 +27,7 @@ import { openPluginModal } from "@components/PluginSettings/PluginModal"; import { AddonCard } from "@components/VencordSettings/AddonCard"; import { QuickAction, QuickActionCard } from "@components/VencordSettings/quickActions"; import { SettingsTab, wrapTab } from "@components/VencordSettings/shared"; -import { isPluginEnabled } from "@plugins"; +import { isPluginEnabled } from "@plugins/index"; import { openInviteModal } from "@utils/discord"; import { openModal } from "@utils/modal"; import { showItemInFolder } from "@utils/native"; diff --git a/tsconfig.json b/tsconfig.json index d5d6f942..c4c620c6 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -31,8 +31,8 @@ "@webpack": ["./webpack/webpack"], "@webpack/patcher": ["./webpack/patchWebpack"], "@webpack/wreq.d": ["./webpack/wreq.d"], - "@plugins": ["./plugins"], - "@equicordplugins": ["./equicordplugins"] + "@plugins/*": ["./plugins/*"], + "@equicordplugins/*": ["./equicordplugins/*"] }, "plugins": [ // Transform paths in output .d.ts files (Include this line if you output declarations files)