From 4450595d6b9903393236835b63581d265f4738bd Mon Sep 17 00:00:00 2001 From: JinmingYang <2214962083@qq.com> Date: Thu, 1 Aug 2024 05:26:02 +0800 Subject: [PATCH] ci: fix build website --- website/.vitepress/config/shared.ts | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/website/.vitepress/config/shared.ts b/website/.vitepress/config/shared.ts index ba7e9e8..c0c589f 100644 --- a/website/.vitepress/config/shared.ts +++ b/website/.vitepress/config/shared.ts @@ -82,6 +82,12 @@ export const shared = defineConfig({ Unocss({ configFile: '../../uno.config.ts' }) - ] + ], + optimizeDeps: { + exclude: ['@nolebase/vitepress-plugin-inline-link-preview/markdown-it'] + }, + ssr: { + noExternal: ['@nolebase/*'] + } } })