diff --git a/.vitepress/config.mts b/.vitepress/config.mts
index e2f8e579a..85ac3a2f5 100644
--- a/.vitepress/config.mts
+++ b/.vitepress/config.mts
@@ -1,4 +1,3 @@
-import { fileURLToPath } from "node:url";
import { defineConfig } from "vitepress";
import UnoCSS from "unocss/vite";
import { presetUno, presetAttributify, presetIcons } from "unocss";
@@ -69,16 +68,6 @@ export default defineConfig({
// Shut the fuck up
chunkSizeWarningLimit: Number.POSITIVE_INFINITY,
},
- resolve: {
- alias: [
- {
- find: /^.*VPSwitchAppearance\.vue$/,
- replacement: fileURLToPath(
- new URL("./theme/components/ThemeSwitch.vue", import.meta.url),
- ),
- },
- ],
- },
},
markdown: {
config(md) {
diff --git a/.vitepress/theme/components/ThemeSwitch.vue b/.vitepress/theme/components/ThemeSwitch.vue
deleted file mode 100644
index 9168b195e..000000000
--- a/.vitepress/theme/components/ThemeSwitch.vue
+++ /dev/null
@@ -1,53 +0,0 @@
-
-
-
-
-
-
-
diff --git a/package.json b/package.json
index fc6c9fa60..261b590b7 100644
--- a/package.json
+++ b/package.json
@@ -24,7 +24,7 @@
"nprogress": "^0.2.0",
"pathe": "^1.1.1",
"unocss": "^0.57.1",
- "vitepress": "npm:@taskylizard/vitepress@1.0.1",
+ "vitepress": "npm:@taskylizard/vitepress@1.0.2",
"vue": "^3.3.7",
"x-satori": "^0.1.5",
"zod": "^3.22.4"
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index fb08fa7af..c9f8072f2 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -30,8 +30,8 @@ dependencies:
specifier: ^0.57.1
version: 0.57.1(postcss@8.4.32)(vite@4.5.0)
vitepress:
- specifier: npm:@taskylizard/vitepress@1.0.1
- version: /@taskylizard/vitepress@1.0.1(@types/node@20.8.9)(nprogress@0.2.0)(postcss@8.4.32)(search-insights@2.9.0)(typescript@5.2.2)
+ specifier: npm:@taskylizard/vitepress@1.0.2
+ version: /@taskylizard/vitepress@1.0.2(@types/node@20.8.9)(nprogress@0.2.0)(postcss@8.4.32)(search-insights@2.9.0)(typescript@5.2.2)
vue:
specifier: ^3.3.7
version: 3.3.7(typescript@5.2.2)
@@ -1714,8 +1714,8 @@ packages:
- supports-color
dev: true
- /@taskylizard/vitepress@1.0.1(@types/node@20.8.9)(nprogress@0.2.0)(postcss@8.4.32)(search-insights@2.9.0)(typescript@5.2.2):
- resolution: {integrity: sha512-GOgu4X0ltZgQoCMiLjq+3eDKXlSeurtaATJj/zJYF44tOtFOp6kOWdx+h3hu82BfDdYAKc71TTt4edLUe+KDHA==}
+ /@taskylizard/vitepress@1.0.2(@types/node@20.8.9)(nprogress@0.2.0)(postcss@8.4.32)(search-insights@2.9.0)(typescript@5.2.2):
+ resolution: {integrity: sha512-u5QZDff8VRDV7LP8U9/IDDbMNrCn524uD4jr77wj7LGHs2KT5B6psZUGsEs54FEfdNT+8P1Fh+0hNjGU4jAarg==}
hasBin: true
peerDependencies:
markdown-it-mathjax3: ^4.3.2