Skip to content

Commit

Permalink
将 Giscus 添加至外部模块
Browse files Browse the repository at this point in the history
  • Loading branch information
LittleChest committed Jan 12, 2025
1 parent 8b35e61 commit 51edfca
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .vitepress/config.mts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,13 @@ import { en, search as enSearch } from "./en";
import { zhHans, search as zhHansSearch } from "./zh-Hans";

export default defineConfig({
vite: {
build: {
rollupOptions: {
external: ["@giscus/vue"],
},
},
},
head: [["link", { rel: "icon", href: "/favicon.ico" }]],
cleanUrls: true,
rewrites: {
Expand Down

0 comments on commit 51edfca

Please sign in to comment.