diff --git a/.vitepress/config/shared.ts b/.vitepress/config/shared.ts index 1a4d98c8f32..68907555d34 100644 --- a/.vitepress/config/shared.ts +++ b/.vitepress/config/shared.ts @@ -1,7 +1,7 @@ import { dirname, resolve } from "node:path"; import { fileURLToPath } from "node:url"; import { HeadConfig, defineConfig } from "vitepress"; -import { groupIconMdPlugin, groupIconVitePlugin, localIconLoader } from "vitepress-plugin-group-icons"; +import { groupIconMdPlugin, groupIconVitePlugin } from "vitepress-plugin-group-icons"; const head: HeadConfig[] = [ [ @@ -85,7 +85,7 @@ export const sharedConfig = defineConfig({ plugins: [ groupIconVitePlugin({ customIcon: { - ".oxlintrc": localIconLoader(import.meta.url, "../oxc-logo.svg"), + ".oxlintrc": "https://cdn.jsdelivr.net/gh/oxc-project/oxc-assets/round.svg", }, }), ], diff --git a/.vitepress/oxc-logo.svg b/.vitepress/oxc-logo.svg deleted file mode 100644 index 9a7c7643fa8..00000000000 --- a/.vitepress/oxc-logo.svg +++ /dev/null @@ -1,29 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/package.json b/package.json index 52406640777..c8e11ac8a5d 100644 --- a/package.json +++ b/package.json @@ -29,7 +29,7 @@ "tsx": "^4.19.1", "typescript": "~5.6.0", "vitepress": "1.3.4", - "vitepress-plugin-group-icons": "^1.2.4", + "vitepress-plugin-group-icons": "^1.3.0", "vue": "^3.5.8" }, "lint-staged": { diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 53532469378..10cb634155b 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -48,8 +48,8 @@ importers: specifier: 1.3.4 version: 1.3.4(@algolia/client-search@4.24.0)(@types/node@22.7.4)(postcss@8.4.47)(search-insights@2.14.0)(typescript@5.6.2) vitepress-plugin-group-icons: - specifier: ^1.2.4 - version: 1.2.4 + specifier: ^1.3.0 + version: 1.3.0 vue: specifier: ^3.5.8 version: 3.5.11(typescript@5.6.2) @@ -1242,8 +1242,8 @@ packages: terser: optional: true - vitepress-plugin-group-icons@1.2.4: - resolution: {integrity: sha512-pxYzphvRy0Jhpgl3lHszH9Z8Qaj83v4bVr0b8Oi4zSIOQW/uuqGAZ8SaYwkZ1f/8a6ckIeIwZiLfLHA6ySCScQ==} + vitepress-plugin-group-icons@1.3.0: + resolution: {integrity: sha512-E6Up5HyWh0gxmy2v1v1VVzQpL9UOZuHgoqOmSNBMTRv2rSwg6nk8MeIiJD0tJ0xtWrY5dwG69ENZPyFoD+fVoA==} vitepress@1.3.4: resolution: {integrity: sha512-I1/F6OW1xl3kW4PaIMC6snxjWgf3qfziq2aqsDoFc/Gt41WbcRv++z8zjw8qGRIJ+I4bUW7ZcKFDHHN/jkH9DQ==} @@ -2402,7 +2402,7 @@ snapshots: '@types/node': 22.7.4 fsevents: 2.3.3 - vitepress-plugin-group-icons@1.2.4: + vitepress-plugin-group-icons@1.3.0: dependencies: '@iconify-json/logos': 1.2.3 '@iconify-json/vscode-icons': 1.2.2