From 982166099ec24b4915c9969a4597676974b19768 Mon Sep 17 00:00:00 2001 From: Zhao Bin <413853119@qq.com> Date: Wed, 7 Aug 2024 19:52:50 +0800 Subject: [PATCH] =?UTF-8?q?fix(theme):=20=E4=BF=AE=E5=A4=8D=20twoslash=20?= =?UTF-8?q?=E6=89=93=E5=8C=85=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/.vuepress/config.ts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/docs/.vuepress/config.ts b/docs/.vuepress/config.ts index bccbce0..0b273cf 100644 --- a/docs/.vuepress/config.ts +++ b/docs/.vuepress/config.ts @@ -91,7 +91,12 @@ export default defineUserConfig({ bundler: viteBundler({ viteOptions: { - // something + ssr: { + noExternal: ['floating-vue'], + }, + optimizeDeps: { + include: ['floating-vue'], + }, }, }), })